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:

RE: Credit card processing - UK (1997) simple answer? [hideif] (1997) [WebDNA] XML Parsing Error Help (2010) help needed: Non-english characters in WebCatalog (1997) [QuantityPrice] Not working in WebCatNT 2.0.1??? (1997) Strange intermittent WebDNA problems (2008) Purchased cart being overwritten - still !?? (1997) updating with ProductEditor (1998) Storebuilder/Webmerchant and Manual CC Processing (2001) Need relative path explanation (1997) Online reference (1997) [OT] 'Email this story to a friend' (2003) Plugin or CGI or both (1997) Re:2nd WebCatalog2 Feature Request (1996) unable to launch acgi in WebCat (1997) Force a number (1998) [format xs] freeze (1997) Summing fields (1997) Follow-Up to: Removing [showif] makes a big difference in speed (1997) Date search - yes or no (1997)