combine search

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 16312
interpreted = N
texte = I am attempting to search a classifieds style database. I want to give the user a way to enter 3 different area codes in which to narrow there search. If no data is enter in the 3 fields or no matching data is entered, the search result is always 0 records. From what I understand, webcatalog should ignore the field and return all records. below is a sample of my input search and my result page:Pretty basic:Search: Result page:[search db=xxxx.db&woareaCodedatarq=[ac1],[ac2],[ac3]]This is very basic and there is more code than what is listed... But I have narrowed the problem down to this. I think WC is interpreting the ac1..ac3 variables as spaces, therefore the actual input is not blank and it actually looks for the spaces? I am not sure what is going on here. HELP!Vince Associated Messages, from the most recent to the oldest:

    
  1. combine search (APC Home PC 1998)
I am attempting to search a classifieds style database. I want to give the user a way to enter 3 different area codes in which to narrow there search. If no data is enter in the 3 fields or no matching data is entered, the search result is always 0 records. From what I understand, webcatalog should ignore the field and return all records. below is a sample of my input search and my result page:Pretty basic:Search: Result page:[search db=xxxx.db&woareaCodedatarq=[ac1],[ac2],[ac3]]This is very basic and there is more code than what is listed... But I have narrowed the problem down to this. I think WC is interpreting the ac1..ac3 variables as spaces, therefore the actual input is not blank and it actually looks for the spaces? I am not sure what is going on here. HELP!Vince APC Home PC

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Using Plug-In while running 1.6.1 (1997) Country & Ship-to address & other fields ? (1997) Dynamic Image Generation (2000) PSC recommends what date format yr 2000??? (1997) return missing item (was:WebCat Sales) (1997) For those of you not on the WebCatalog Beta... (1997) [listwords] & delimiters (2004) WebDNA v6 & MySQL (2008) Too Much Rootbeer Free Offer (1997) New 4.5 installer (2002) Concealing WebCatalog in the URL (2000) Any user support forums or is the Talklist it? (2007) Summary search -- speed (1997) Math inside [showif] (1998) Upgrade to 3.07 problems (2000) Protecting databases (1999) removing programming logic white space (2003) Return records from another (1997) Date Calulation (1997) Still Stumped on ShowNext...HELP! (1997)