Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Modifying data in subform

Status
Not open for further replies.

daytona

Programmer
Jul 2, 2002
9
GB
From a form, I want to be able to click a button which will tick all of the check boxes on all rows of a subform. Can anyone tell me how please?
 
I'm assuming from your question that these check boxes are bound to a field in table that is displayed by your subform. Here's one way to handle this situation when you click the button:

1) Run a query that updates the check box fields in the table. (The query would need to take into account any record selection criteria that you set up on your main form, e.g., date ranges, department codes.)
2) Requery the subform from the main form.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top