I'm trying not to have to hard code dozens of queries for possible combinations on my dataset.
I've got dropdown boxes for things like status, work type, and process. Right now the query is like "WHERE Status = ?" and the dropdown fills in Finished, Scheduled, Etc.
If I wanted to do multiple filters, could i do that dynamically from a query? If they hit "Any" in the Process dropdown, and Finished in status, could I do it to the effect of
WHERE Status = Finished and Process = * //asterisk being the wildcard theory mentioned in the title
I'm not against coding all the query combinations, but I'd rather not have to spend the time if I can use wildcards. Haven't gotten anything to work yet though.
May the fleas of a thousand camels feast happily on the lower regions of your enemies. And may their arms be too short to scratch!