I have a continues form that have checkboxes that is attached to a qry. I need to create a button to check all the checkboxes. Since the checkboxes are not bounded, I have not idea how to code it.
First you say you have checkboxes attached to a query (Bounded), then you say they are Unbounded. Which one?????
If they are Unbounded (in design view, click on the checkbox, bring up its' property sheet, click the All tab and look at the option Control Source. If the box next to it is empty, then it is unbounded), then create a command button, on its' property sheet click the Event tab, click next to the option OnClick, click on the button with three dots, select Code Builder. Then just type in between Private Sub and End Sub:
... all checked or unchecked in a continuious form ...
bound ones are a more hassle. if the "qry" create the field, then they are a bit more useless, as they only exists for the duration of the existance of the recordset and are (at best) difficult to access. ones bound (in the query) to a table type field require a mechanisim to reference the field. this could reasonably be be an update query with the selection xruteria the same as the recordsource of the form, but then it would cretainly inhibit the use of the table in a split/BE database. somewhere in hte nmuddle of these thoughts, it occurs (to me that) I do not know enough about the bigger picture to actually provide much more than the thought that it is at not as simple as it might seem and more background might be useful
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.