G
girobert
Guest
I have a form with five combo boxes that are all related in a single table. I have a form that creates a dynamic query, and the row source property calls off of this query. This works really well when populating the combo boxes for the first time (ie: When a user chooses a choice in combo box "A", all of the following comboboxes are populated only with results that are applicable to the choice in the first combobox. I tried to design it so that the combo boxes were continuously updated depending on the users choice. I did this by using an event procedure on the LostFocus and GotFocus events that created the dynamic query. Then the Row source was one of the fields in the dynamic query.
My question is: Is it possible to make the Row Source property update every time something on the form is changed? If I choose an option in combobox "a", and then look at the options in combobox "b", and then go back and change my choice in combo box "a", the choices in combobox "b" stay the same. If I look at the dynamic query the form creates, it has all of the choices that should be there, so the row source is not looking at the query again. Thanks
My question is: Is it possible to make the Row Source property update every time something on the form is changed? If I choose an option in combobox "a", and then look at the options in combobox "b", and then go back and change my choice in combo box "a", the choices in combobox "b" stay the same. If I look at the dynamic query the form creates, it has all of the choices that should be there, so the row source is not looking at the query again. Thanks