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:

WC 3.0.1 Mac days_to_date (1998) WebCatalog2 Feature Feedback (1996) WebCat2: Items xx to xx shown, etc. (1997) [ReturnRaw] and PDFs (2005) Re:How to Display text in empty fields (1997) Apache and Webdna (2005) Username for Admin Group (1997) Error handling for accountNum (1997) Postprocessing CCs (2000) Setting up shop (1997) need some help with tcpsend (2000) SSL and Webstar 3 with Webcatalog (1998) Bug Report, maybe (1997) F2 to F3 rocky transition (1997) Secure server question (1997) Appending Information from one db to another (1998) New syntax feedback for 4.0 (2000) WebDNA 4.5 & iTools 7 (2003) WebCat2 several catalogs? (1997) send mail problem? (1997)