Good afternoon. I hope this is possible. I can get my Query (Access 2007) to run with either of the following code:-
or
What I'd like to be able to do is let my user put "20,22" in the 'WeekNo' text box and run code like:-
I get no errors, but no data either.
Is this just a simple sytax thing?
Many thanks,
Des.
Code:
WHERE (((Amalgamated_Data.[Week number])=[Forms]![LbL_Data]![WeekNo]))
or
Code:
WHERE (((Amalgamated_Data.[Week number]) In (20,22)));
What I'd like to be able to do is let my user put "20,22" in the 'WeekNo' text box and run code like:-
Code:
WHERE (((Amalgamated_Data.[Week number]) In ([Forms]![LbL_Data]![WeekNo])));
Is this just a simple sytax thing?
Many thanks,
Des.