J
JimS
AC 2003
I have a form with 7 or 8 tabs, each one having a subform on it. The main
form is bound to a query that is keyed by ProjectID. The subforms are tied to
the main form by ProjectID.
I want to use vba to do the equivalent of:
User enters a Project ID and Equipment ID he is interested (there may be 0
or more Equipment IDs per Project). I have this coded into a Combo Box
already, with columns for each (ProjectID and EquipmentID)
Set the main form to that unique project (this, of course, sets the subforms
to that project as well), then
Set the filter on each of the subforms to display only equipment with the
chosen Equipment ID.
Code a button to clear all of the above.
Strategy?
I have a form with 7 or 8 tabs, each one having a subform on it. The main
form is bound to a query that is keyed by ProjectID. The subforms are tied to
the main form by ProjectID.
I want to use vba to do the equivalent of:
User enters a Project ID and Equipment ID he is interested (there may be 0
or more Equipment IDs per Project). I have this coded into a Combo Box
already, with columns for each (ProjectID and EquipmentID)
Set the main form to that unique project (this, of course, sets the subforms
to that project as well), then
Set the filter on each of the subforms to display only equipment with the
chosen Equipment ID.
Code a button to clear all of the above.
Strategy?