I had previously posted a question (thread333-831424) regarding about how I would query Tires,Wheels,Caps. If I should break it up or was there something in SQL. Got a great answer
Well the problem I am now having is How do I get that variable into the Stored Procedure.
Ive tried different ways
CommandProducts = "Tires,Wheels,Caps"
CommandProducts = "'Tires','Wheels','Caps'"
CommandProducts = "'Tires,Wheels,Caps'"
all throw different errors. Any Ideas how I would pass it to the Proc as is. I could parse it and loop but i was hoping to avoid that.
Thanks in advance.
Albert
Code:
WHERE YourCriteria IN(YourCommaDelimitedListOfSelectedItems)
Well the problem I am now having is How do I get that variable into the Stored Procedure.
Ive tried different ways
CommandProducts = "Tires,Wheels,Caps"
CommandProducts = "'Tires','Wheels','Caps'"
CommandProducts = "'Tires,Wheels,Caps'"
all throw different errors. Any Ideas how I would pass it to the Proc as is. I could parse it and loop but i was hoping to avoid that.
Thanks in advance.
Albert