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:

no [search] with NT (1997) URGENT: WebDNA Server Not Running (2003) [math show=f]nuCheck1=[check1]=1[/math] = proper syntax?? (2000) WebSite and *NO* Authentication Dialog Box!!? (1998) Associative lookup style? + bit more (1997) Pre-flight public flag (1997) Trouble with formula.db (1997) Re:Navigator 4.01 (1997) fixed date problem (1997) Exclamation point (1997) [WebDNA] =?UTF-8?B?UmU6IFtXZWJETkFdIFJlOiBbV2ViRE5BXSBSZTogW1dlYkROQV0gUmU6IFtXZWJETkFdIA==?= (2011) Cookies and webcat (1997) WebCat2b15MacPlugin - [protect] (1997) WebCat2: Found Items syntax, etc. (1997) Moment of Thanks (1997) tcpsend (2001) Alpha List for Catagory (1998) CommandSecurity? (1997) [WebDNA] fastcgi 7+ & [cart]? (2010) japanese characters (1997)