All
I have a textbox that contains values seperated by a comma (exampel: tree, boat, house). I am trying to do an sql query that builds a table from another table only if the record has either of the items listed in the field. If I have only 1 item in the text box (boat), the table is built just fine, but if there are more than one, it give me no records at all. I believe this has something to do with the " " that the query puts around the criteria, and I have tried numerous things to try to add them my self (chr (34) or ' ), but I am at my wits end. Is there anyone that has any idea how to fix this?
I have a textbox that contains values seperated by a comma (exampel: tree, boat, house). I am trying to do an sql query that builds a table from another table only if the record has either of the items listed in the field. If I have only 1 item in the text box (boat), the table is built just fine, but if there are more than one, it give me no records at all. I believe this has something to do with the " " that the query puts around the criteria, and I have tried numerous things to try to add them my self (chr (34) or ' ), but I am at my wits end. Is there anyone that has any idea how to fix this?