Re: Showif Context combined with Search

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 15541
interpreted = N
texte = >What is the syntax for using a Showif context based upon a search of >multiple fields?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 sideWhatever 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.Grant Hulbert, V.P. Engineering | ==== eCommerce for the Rest of Us ==== 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: 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?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 sideWhatever 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.Grant Hulbert, V.P. Engineering | ==== eCommerce for the Rest of Us ==== 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/ Grant Hulbert

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:

Special delete ... (1997) Another question (1997) Still can't upgrade users.db to 2.1.1 (1998) [WebDNA] plupload ? (2012) Some Questions (1997) WebCat b13 CGI -shownext- (1997) Upgrade Problem.... (1998) [WebDNA] Crashing Database (2011) pc (1997) [WebDNA] Error 500 with SUMM=T (2017) Changing user submitted data (2000) SMSI FTP - calander system (2002) [append] and SSL (1997) [Announce] WebCatalog 2.1 Released (1998) WebCat virtual postcard is done! Thanks for the help! (1998) Make sure I understand this??? (1997) WebDNA and SQL (2003) PIXO support (1997) [WebDNA] unique words (2009) Exists? (1997)