I have a combo box on an form where the values are populated based on the value in a separate field.
To do this, I have created a combo box and set the “Row Source” to run a SQL statement.
The problem I am having is that if the data in the field changes, the combo box values do not update.
How do I get access to re-run the query?
See whether this description is reasonably close to your situation.
My form has a text box,
txtFoo, and a combo box,cboBar.The row source property for
cboBaris a query which referencestxtFoo. And I want the combo’s contents updated in response to changes intxtFoo. The solution is to requerycboBarfromtxtFoo'safter update event.