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 '=' (orother 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 canbe >complex lookups and such) is what gets compared. Be careful, though,because if >you accidentally have '=' or '!' or whatever *inside* the text of eitherside, >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=[address1]Where the bracketed names are the values that I want to search for.Larry
Associated Messages, from the most recent to the oldest:
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 '=' (orother 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 canbe >complex lookups and such) is what gets compared. Be careful, though,because if >you accidentally have '=' or '!' or whatever *inside* the text of eitherside, >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=[address1]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:
View order not right (1997)
Orderfile Encryption (2007)
POST Datamissing? (1998)
Caching pages...again (2001)
Upload and WebCat (1998)
[lottaCopy] through SSL (1998)
Building Calendars (1997)
about this server and links to who (1997)
Bug Report, maybe (1997)
Whats going on with my SERIAL NUMBER??? (1998)
Mac: [ListFiles] bug alert (1997)
Problem (1997)
Email within tmpl ? (1997)
changing creator codes (2000)
shipping calculations, lookup command (1997)
Cart Number sequence (1997)
Search design (1997)
RAW=T..Strange behaviour (2000)
WebCat vs. ASP (1999)
WebCatalog Mac 2.1b3 (1997)