G
Guest
I want to query data using a dropdown box on a form. The possible selections
are:
Any, 5,10,20,30
So, there are basically 2 possible selections- "Any" or A Number. If it's
"Any", then I want the query to let all the data through. If it's A Number,
then it should select records that match.
How do I do this in SQL? I understand the IF,THEN format, but I don't know
how to integrate it with SELECT, FROM, and WHERE. Please help!
-jeff
are:
Any, 5,10,20,30
So, there are basically 2 possible selections- "Any" or A Number. If it's
"Any", then I want the query to let all the data through. If it's A Number,
then it should select records that match.
How do I do this in SQL? I understand the IF,THEN format, but I don't know
how to integrate it with SELECT, FROM, and WHERE. Please help!
-jeff