I have 2 unbound combo boxes on a form.
The row source for the 2nd combo box is based on a query, using SQL code.
I'd like the SQL query for the 2nd combo box to change - depending on the selection made for the 1st combo box.
So, is it possible to use some sort of If statement in the row source property? That is,
If combo box 1 = ???? Then
run query 1
Else
run query 2
Hope this makes sense.
The row source for the 2nd combo box is based on a query, using SQL code.
I'd like the SQL query for the 2nd combo box to change - depending on the selection made for the 1st combo box.
So, is it possible to use some sort of If statement in the row source property? That is,
If combo box 1 = ???? Then
run query 1
Else
run query 2
Hope this makes sense.