Re: Showif Context combined with Search

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 15545
interpreted = N
texte = >What is the syntax for using a Showif context based upon a search of >multiple fields? > >I view it as something like what I have below: > >[SHOWIF db=d2mcust.db&firstname=[firstname]&lastname=[lastname]&address=[a >ddress]] > > If a record is found matching the three values above, then the >instructions here would be executed. > >[/SHOWIF] It's like this:[SHOWIF [search db=d2mcust.db&EQfirstnameDATARQ=[firstname]&EQlastnameDATARQ=[lastname]&EQaddres sDATARQ=[address]][numfound][/search]=1] Instructions would be executed here ... [/SHOWIF]Sincerely, Ken Grome ken@iav.com 808-737-6499 WebDNA Solutions http://www.hui.net/ 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)
>What is the syntax for using a Showif context based upon a search of >multiple fields? > >I view it as something like what I have below: > >[SHOWIF db=d2mcust.db&firstname=[firstname]&lastname=[lastname]&address=[a >ddress]] > > If a record is found matching the three values above, then the >instructions here would be executed. > >[/SHOWIF] It's like this:[SHOWIF [search db=d2mcust.db&EQfirstnameDATARQ=[firstname]&EQlastnameDATARQ=[lastname]&EQaddres sDATARQ=[address]][numfound][/search]=1] Instructions would be executed here ... [/SHOWIF]Sincerely, Ken Grome ken@iav.com 808-737-6499 WebDNA Solutions http://www.hui.net/ Kenneth Grome

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:

A multi-processor savvy WebCatalog? (1997) More Applescript (1997) frames & carts (1997) Problems getting parameters passed into email. (1997) test (2002) your mail (2000) calculating tax rates, mail order solutions and version 2 (1997) Banners (1997) Format question WC Mac f3 (1997) anyone on the list work with Generator and WebCat together? (1999) A multi-processor savvy WebCatalog? (1997) Multiple security dbs (1997) Nested tags count question (1997) Problem (1997) Error Log.db --however (1997) Emailer errors (1997) Is the list server working? (1998) [WebDNA] Need some PHP help (2009) my SOS last week... (1996) Appending Information from one db to another (1998)