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 Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Select All Checkboxes in MS Access Form

Status
Not open for further replies.

shepkrm

Programmer
Joined
Jul 29, 2004
Messages
38
Location
US
i have an access form with multiple checkboxes on it. i would like users to have the option of "select all" on the form, where all the boxes would be checked.

any ideas on how i can do this?

thanks in advance,
becky
 
A starting point:
For Each ctl in Me.Controls
If ctl.ControlType = acCheckBox Then ctl.Value = True
Next

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top