Re: Another IfThenElse question..
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 54218
interpreted = N
texte = That looks like it did it Scott (though I was changinga bunch of other things at the time :-). It is working now.I do have a question though. Why does nulling outone comparison cause the else context to enact whenthe *second* comparison is results TRUE?I would think this would make the if statement true?DonovanScott Anderson wrote:> The problem is that ([balance]>0) throws an exception in the equation parser> in the case where balance is NULL (has no value), which is excepted.> > Try this:> > [if (0[BALANCE]>0)|("[BALANCE]"="")]> ^> > Note that the 0 padding ensures that there is a valid equation to parse.-- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE Eucalyptus Design <-Web Development (specializing in eCommerce), -> <-Graphic Design, and Pre-Press Consultation -> ADDRESS:> Donovan Brooke DBA Eucalyptus Design N2862 Summerville Park Rd. Lodi, WI 53555 PH:> 1.608.592.3567 Web:> http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o-------------------------------------------------------------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:
That looks like it did it Scott (though I was changinga bunch of other things at the time :-). It is working now.I do have a question though. Why does nulling outone comparison cause the else context to enact whenthe *second* comparison is results TRUE?I would think this would make the if statement true?DonovanScott Anderson wrote:> The problem is that ([balance]>0) throws an exception in the equation parser> in the case where balance is NULL (has no value), which is excepted.> > Try this:> > [if (0[BALANCE]>0)|("[BALANCE]"="")]> ^> > Note that the 0 padding ensures that there is a valid equation to parse.-- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE Eucalyptus Design <-Web Development (specializing in eCommerce), -> <-Graphic Design, and Pre-Press Consultation -> ADDRESS:> Donovan Brooke DBA Eucalyptus Design N2862 Summerville Park Rd. Lodi, WI 53555 PH:> 1.608.592.3567 Web:> http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o-------------------------------------------------------------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/
Donovan Brooke
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:
WebDNA Engine Won't Start (2003)
Limitations on fields? Server is crashing (1997)
Sorting Date (2004)
[WebDNA] SOAP support (2014)
Another webcatalog site!! (1997)
Email Scavengers (2003)
suffix mapping for NT? (1997)
Re:Merging databases (1997)
[protect admin] (1997)
Cookies (1999)
Re:2nd WebCatalog2 Feature Request (1996)
Using Cookie for client specific info? (1997)
Help name our technology! I found it (1997)
OT: question about traveling abroad (UK) (2005)
Undeliverable Mail (1997)
Problems searching from a FORM (1997)
Sort Order on a page search (1997)
Mozilla Firefox problem (2004)
Updating a database once per day - An example (1998)
syntax question, not in online refernce (1997)