Hey...
I've got a Form that contains a subform from a query of a table..
That Form limits the contents of the subform (datasheet view) with different things like date period and 4 checkboxes each one hold name of place (Alex,Aswan & Luxor).
SO, what i want to do is that when i check the checkbox of "Alex" the query of the subform show only records for places in "Alex" depending on the (Place) field in the table of the query that contain all places (Alex,Aswan & Luxor) & on un-checking the Alex Checkbox the subform do not show the Alex records..
Same with the Aswan & Luxor checkboxes..
Is there anyway of doing that by VBA ?!
I've got a Form that contains a subform from a query of a table..
That Form limits the contents of the subform (datasheet view) with different things like date period and 4 checkboxes each one hold name of place (Alex,Aswan & Luxor).
SO, what i want to do is that when i check the checkbox of "Alex" the query of the subform show only records for places in "Alex" depending on the (Place) field in the table of the query that contain all places (Alex,Aswan & Luxor) & on un-checking the Alex Checkbox the subform do not show the Alex records..
Same with the Aswan & Luxor checkboxes..
Is there anyway of doing that by VBA ?!