I have a listbox control in my form that displays product names [ProdSelect]. The names of the products which display at any time are filtered based on a category selection from another list box [CatSelect]. Example, when you click on soap, only soaps show. When you click on shampoo, only shampoos show.
I want one item in that list box, preferably a category called "ALL" that will show all products at once. How do I do that?
Here is the code which filters my ProdSelect control (Both controls are on the same form called "Startup":
SELECT Products.[Product Name]
FROM Products
WHERE (((Products.Category) Like [Forms]![startup]![ProdSub].[Form]![CatSelect]));
Thanks for any help!
I want one item in that list box, preferably a category called "ALL" that will show all products at once. How do I do that?
Here is the code which filters my ProdSelect control (Both controls are on the same form called "Startup":
SELECT Products.[Product Name]
FROM Products
WHERE (((Products.Category) Like [Forms]![startup]![ProdSub].[Form]![CatSelect]));
Thanks for any help!