B
Babs W
I am using Access 97. I want to display a combo box on of form. When a
selection is made I want to use the combo box value to filter a form's
records. The form is based on a query. I have figured out a way to do it
with command buttons, however, the data list is more than 50 items long and
grows as the database is used.
The option I have used is a Macro applied to command buttons. I assume that
what I want to do is best done with VBA. What I don't understand is how
to get the value of the Combo Box into VBA and then apply it to the form.
The combo box displays words (like Plumber, Electrician, Mechanic) but holds
the numeric values for the records.
Ideally I would like the data to display on the same form as the combo box
but not until AfterUpdate on the combo box selection.
Thanks for the help
selection is made I want to use the combo box value to filter a form's
records. The form is based on a query. I have figured out a way to do it
with command buttons, however, the data list is more than 50 items long and
grows as the database is used.
The option I have used is a Macro applied to command buttons. I assume that
what I want to do is best done with VBA. What I don't understand is how
to get the value of the Combo Box into VBA and then apply it to the form.
The combo box displays words (like Plumber, Electrician, Mechanic) but holds
the numeric values for the records.
Ideally I would like the data to display on the same form as the combo box
but not until AfterUpdate on the combo box selection.
Thanks for the help