Re: Showif Context combined with Search

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 15543
interpreted = N
texte = Grant Hulbert wrote: >ShowIf is purely text-based, and has nothing inherently to do with >searching. It looks at whatever text is on the left of the '=' (or other comparison, >like >,<,~,^,!) and compares it to the text on the right-hand side: > >[ShowIf [xxx]=[yyy]] > | |_____evaluate right-hand side > | > -- evaluate left-hand side > >Whatever those [xxx] amd [yyy] WebDNA expressions become (and they can be >complex lookups and such) is what gets compared. Be careful, though, because if >you accidentally have '=' or '!' or whatever *inside* the text of either side, >then it can confound the comparison. > >What is the syntax then, for a lookup of a record that matches 3 values, as in my example, something like:db=d2mcust.db&firstname=[firstname1]&lastname=[lastname1]&address=[a ddress1] Where the bracketed names are the values that I want to search for. Larry Associated Messages, from the most recent to the oldest:

    
  1. Re: Showif Context combined with Search (Kenneth Grome 1997)
  2. Re: Showif Context combined with Search (Larry Orchier 1997)
  3. Re: Showif Context combined with Search (Grant Hulbert 1997)
  4. Showif Context combined with Search (Larry Orchier 1997)
Grant Hulbert wrote: >ShowIf is purely text-based, and has nothing inherently to do with >searching. It looks at whatever text is on the left of the '=' (or other comparison, >like >,<,~,^,!) and compares it to the text on the right-hand side: > >[ShowIf [xxx]=[yyy]] > | |_____evaluate right-hand side > | > -- evaluate left-hand side > >Whatever those [xxx] amd [yyy] WebDNA expressions become (and they can be >complex lookups and such) is what gets compared. Be careful, though, because if >you accidentally have '=' or '!' or whatever *inside* the text of either side, >then it can confound the comparison. > >What is the syntax then, for a lookup of a record that matches 3 values, as in my example, something like:db=d2mcust.db&firstname=[firstname1]&lastname=[lastname1]&address=[a ddress1] Where the bracketed names are the values that I want to search for. Larry Larry Orchier

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:

WebCat2b15MacPlugin - showing [math] (1997) Flash Stores (2003) Help!!!! (1999) Applying discounts as more items are added... (1997) Re[3]: Problem with new formvariables (2000) textarea inputs and returns (1999) Security Tip (1996) Shipping Costs Not Updating When Adding Items (1997) New Command prefs ... (1997) For those of you not on the WebCatalog Beta... (1997) formatting a number (1999) Running _every_ page through WebCat ? (1997) AppleScript: Tell application:app location? (1998) [WebDNA] WebDNA7 and mod_fcgi (2013) Web Catalog 2 demo (1997) shipcost (1997) update on include (1997) more info on [setlineitems] (1997) PSC recommends what date format yr 2000??? (1997) NT License trade for Mac (2000)