Re: showif field is number
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 15670
interpreted = N
texte = >Is their a quick way to do [showif [field] is a number] ?>>Will this work? [showif [math][field]+1[/math]!] In other words, if the>field is non-numeric, the math context will return a blank.I think something like this will work, but I don't remember what'sreturned, whether it's blank or zero or some unpredictable number.You'll probably have to play around with this technique to see whatyou get ... :)Sincerely,Ken Gromeken@iav.com808-737-6499WebDNA Solutionshttp://www.hui.net/
Associated Messages, from the most recent to the oldest:
>Is their a quick way to do [showif [field] is a number] ?>>Will this work? [showif
[math][field]+1[/math]!] In other words, if the>field is non-numeric, the math context will return a blank.I think something like this will work, but I don't remember what'sreturned, whether it's blank or zero or some unpredictable number.You'll probably have to play around with this technique to see whatyou get ... :)Sincerely,Ken Gromeken@iav.com808-737-6499WebDNA Solutionshttp://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:
WebCat2_Mac RETURNs in .db (1997)
RE: Still Learning (1997)
BBEdit/HTMLcomments/WebCat/[/FONT] (1999)
Multiple prices (1997)
stuck time (1998)
[WebDNA] webdna.us (2008)
So what ya working on? (or have you completed?) (2004)
How to redirect based on price subtotal? (1998)
possible, WebCat2.0 and checkboxes-restated (1997)
Likelihood of a duplicate (2005)
webcat 2.1 new cart fields - please explain more (1998)
looping table rows (1999)
WebCatalog: Server Will not Stay up & running (2001)
Re:Has this happened to you? (1997)
emailer error -108 (1997)
Virtual hosting and webcatNT (1997)
Problem with 2.1b3 (1997)
latest version? (1998)
Prices coming up 0.00 (2001)
Formulas.db + Users.db (1997)