P ppataki Registered User. Local time Today, 11:07 Joined Sep 5, 2008 Messages 267 Apr 3, 2009 #1 Dear All, I have a combo box in a form, would it be possible (and if yes how) that after selecting an item from the list, that item will be used as a parameter in a query? Many thanks in advance
Dear All, I have a combo box in a form, would it be possible (and if yes how) that after selecting an item from the list, that item will be used as a parameter in a query? Many thanks in advance
ajetrumpet Banned Local time Today, 13:07 Joined Jun 22, 2007 Messages 5,628 Apr 3, 2009 #2 the parameter syntax in the WHERE clause of the query is: Code: WHERE [Yourvalue] = forms!YourFormName!ComboBoxName
the parameter syntax in the WHERE clause of the query is: Code: WHERE [Yourvalue] = forms!YourFormName!ComboBoxName
P ppataki Registered User. Local time Today, 11:07 Joined Sep 5, 2008 Messages 267 Apr 3, 2009 #3 Thank you!! It works perfectly
ajetrumpet Banned Local time Today, 13:07 Joined Jun 22, 2007 Messages 5,628 Apr 3, 2009 #4 no problem.