Get ready for BLACK FRIDAY shopping starting in

Forums

This topic is locked

Easy question, i hope....

Posted 05 Feb 2002 18:39:53
1
has voted
05 Feb 2002 18:39:53 sdfjhb uhgij posted:
I think its easy anyway.... Im doing a search form.. finding people by location and ame. Name is a text field, location is a drop down. I want an option of "Any" in location.. I.e, send no information to the asp page, ok? But if you leave the value of the "any" option empty, it submits the value as "any". How do i stop this? The text field is ok... if you leave it blank then it sumits no information.

Replies

Replied 05 Feb 2002 19:09:55
05 Feb 2002 19:09:55 Chris Neville replied:
If you set the value of 'Any' in the drop-down to the "%" wildcard, it should work. Basically, you're telling the Server to retrieve all values for this field.

Replied 05 Feb 2002 20:39:01
05 Feb 2002 20:39:01 Kent Steelman replied:
One more thing... when you use the "%" as the wildcard.. you must also use the qualifier of LIKE and not =

Wm. Kent Steelman
Replied 05 Feb 2002 21:47:44
05 Feb 2002 21:47:44 sdfjhb uhgij replied:
Thanks guys, thats got it.

Reply to this topic