Using ComboBox value in query

ssmith001

Registered User.
Local time
Yesterday, 20:53
Joined
Jun 6, 2006
Messages
29
I have a form with a combobox called fraShipDay. How do I reference the value of the user's selection in a query? I've tried using Forms![Form1]![fraShipDay] but it's not working.
 
What is the name of your form??
 
Code:
WHERE yourfieldName = Forms!YourFormName!YourComboBoxName

is the correct syntax - so it should work - as long as you have referenced the right form and the right combobox.
 

Users who are viewing this thread

Back
Top Bottom