Forums

ASP

This topic is locked

Multiple query question

Posted 05 Aug 2003 20:02:54
1
has voted
05 Aug 2003 20:02:54 risa wu posted:
I hope someone can help me with this question, please. I have a query page with 6 textfields, but how do I handle the empty fields when the user doesn't fill them all out? If I use the sql statement "and" to put all together then it will look for all 6 text fields. How do I do with these empty fields so they don't effect the whole query? Thank you very much!

Replies

Replied 07 Aug 2003 16:42:58
07 Aug 2003 16:42:58 Rene Bandsma replied:
If you use the LIKE variabele and the user fills nothing in the textbox, searching to this 'empty' textbox will automaticly be skipped.

Reply to this topic