I am using SQL to populate a Listbox's rowsource. I need the WHERE component to reference a text box on the form that the query is on. However, I can't figure out the parenthesis needed to do this!
The WHERE function currently is:
But this doesn't work. It doesn't show any errors, but the query always returns no results. I have tried various parenthesis, and none of them seem to work.
Help!
Thanks
The WHERE function currently is:
Code:
WHERE (((BayDetails.Side)='Left') AND ((BayDetails.JobNumber)='" & Me.JobNumber & "'))
Help!
Thanks
Comment