By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,122 Members | 1,689 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,122 IT Pros & Developers. It's quick & easy.

How to make a Cmd Button on a Main form all records on a subform?

P: 1
Good Morning,

I have a form and on that form there are 3 tabs, and within one of those tabs is the subform (HistSub), I would like to place a button on the form that deletes all records on the subform (similar to a reset button) it will most likely be around 25 records each time. I have tried different types of coding and have so far managed to delete all my main records amongst other things.

Any help would be much apreciated,

Regards
Adam
May 1 '12 #1
Share this Question
Share on Google+
1 Reply


NeoPa
Expert Mod 15k+
P: 31,494
Adam,
Why don't you start by considering what sort of information would be required to manage a job such as this, and then including that information in the question. The information will be schema-related (tables, fields, types, etc) and will have very little to do with the form(s) other than requiring how to identify the records that should be deleted from the controls available on the form(s).

Without this information this doesn't add up to a question, and my only option would be to delete it.
May 1 '12 #2

Post your reply

Sign in to post your reply or Sign up for a free account.