Re: Searching for Nothing

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 20229
interpreted = N
texte = >What is the method taken to search for nothing in a field of a database?If you mean literally a zero-length string of letters, then try setting your search form variable to [blank], where [blank] is a special WebDNA tag that indicates an empty field in a search.WebCatalog purposely ignores form fields that have no text in them when searching, because that makes it easier for visitors to your site to just leave fill-in fields empty and have the search find a reasonable set of records.Despite the recent criticism of the manual, there is actually a section in the documentation under Searching/Blank Fields which describes this behavior. Browse around in the searching section; you may find lots of other cool things in there!Technical Support | ==== eCommerce and Beyond ==== Pacific Coast Software | WebCatalog, WebMerchant, 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, San Diego, CA 92128 | Typhoon 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Searching for Nothing (PCS Technical Support 1998)
  2. Re: Searching for Nothing (Martin Gertz Bech 1998)
  3. Re: Searching for Nothing (Peter Ostry 1998)
  4. Searching for Nothing (Howard Wolosky 1998)
>What is the method taken to search for nothing in a field of a database?If you mean literally a zero-length string of letters, then try setting your search form variable to [blank], where [blank] is a special WebDNA tag that indicates an empty field in a search.WebCatalog purposely ignores form fields that have no text in them when searching, because that makes it easier for visitors to your site to just leave fill-in fields empty and have the search find a reasonable set of records.Despite the recent criticism of the manual, there is actually a section in the documentation under Searching/Blank Fields which describes this behavior. Browse around in the searching section; you may find lots of other cool things in there!Technical Support | ==== eCommerce and Beyond ==== Pacific Coast Software | WebCatalog, WebMerchant, 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, San Diego, CA 92128 | Typhoon 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/ PCS Technical Support

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:

Searchable Talklist Archive (1998) search same field twice??? (1999) Web Catalog 2 demo (1997) Re(2): Append command (1999) Need help with search title (1998) [WebDNA] OT: Translation Services (2008) WebCatalog for guestbook ? (1997) Add to a field (1998) Re[2]: searches with dash, period etc. (back form politenes (2000) Assigning new CART number (1997) Never Mind - Was - Credit Card Processing (2000) [WebDNA] Crontab to execute DNA (2012) [Reload mydata.db] (1998) Daze to Dates (1998) [AppendFile] problem (WebCat2b13 Mac .acgi) (1997) Time limit to WebDNA solution (2001) process SSI (1998) Anyone have an invoicing system? (2000) Database Structure? (1998) Date search bug (1998)