Hello all,
Sorry if this question appears a lot, I've looked all over the internet and can't find a single solution that works.
I would like to add an "All" option to a list box (and a combo box, but I'm assuming the coding is similar enough for me to modify, if needed) that when selected and a query is run based off the selection it returns records that match all of the options in said list. The code I have right now is:
This adds the all option to the list, but returns 0 records when used for the query... Do I need to modify the query criteria at all for this??
Any help would be greatly appreciated, thanks!
Sorry if this question appears a lot, I've looked all over the internet and can't find a single solution that works.
I would like to add an "All" option to a list box (and a combo box, but I'm assuming the coding is similar enough for me to modify, if needed) that when selected and a query is run based off the selection it returns records that match all of the options in said list. The code I have right now is:
Code:
SELECT [Reps].[RepName] FROM [Reps] UNION Select "<All>" FROM [Reps] GROUP BY [Reps].[RepName];
Any help would be greatly appreciated, thanks!
Comment