Re: multi condition with showif
This WebDNA talk-list message is from 2005
It keeps the original formatting.
numero = 62870
interpreted = N
texte = Hi Stephen,You'll have problems with nesting because remember, the 1st condition must be met before it even gets to the 2nd condition so the "or" factor isn't an option. Use an IF/THEN/ELSE, much cleaner:http://webdna.smithmicro.com/ref/pages.html?context=IfContext.htmlGaryAt 11:12 AM 8/28/2005, you wrote:>Hi All,>Can a [showif] command have more than one condition or must they be nested to function?>If so, then how?>>ex: [showif [conditionA]=1 and [conditionB]=1]>code,code,code>[/showif]>>or>>[showif [conditionA]=1]>[showif [conditionB]=1]>code,code,code>[/showif]>[/showif]>>Thanks for any insight.>>Stephen F Braun>sbraun1@twcny.rr.com-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Hi Stephen,You'll have problems with nesting because remember, the 1st condition must be met before it even gets to the 2nd condition so the "or" factor isn't an option. Use an IF/THEN/ELSE, much cleaner:http://webdna.smithmicro.com/ref/pages.html?context=IfContext.htmlGaryAt 11:12 AM 8/28/2005, you wrote:>Hi All,>Can a [showif] command have more than one condition or must they be nested to function?>If so, then how?>>ex: [showif [conditionA]=1 and [conditionB]=1]>code,code,code>[/showif]>>or>>[showif [conditionA]=1]>[showif [conditionB]=1]>code,code,code>[/showif]>[/showif]>>Thanks for any insight.>>Stephen F Braun>sbraun1@twcny.rr.com-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Gary Krockover
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:
Windows and Webcat! (2000)
[WebDNA] RESTART WebDNA (2016)
OK, here goes... (1997)
Trouble with formula.db + more explanation (1997)
PIXO support (1997)
Summary search -- speed (1997)
'does not contain' operator needed ... (1997)
searching problem (1998)
OBDC Support (1997)
Only charge card when product shipped ? (1997)
New Command prefs ... (1997)
Help name our technology! (1997)
HELP WITH DATES (1997)
webcat- multiple selection in input field (1997)
Search over 500 (2000)
international time (1997)
different show next (1997)
select multiple 2 more cents (1997)
Clearing orders and database help! (1997)
Trouble creating a temp database (2000)