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's returned, whether it's blank or zero or some unpredictable number. You'll probably have to play around with this technique to see what you get ... :) Sincerely, Ken Grome ken@iav.com 808-737-6499 WebDNA Solutions http://www.hui.net/ Associated Messages, from the most recent to the oldest:

    
  1. Re: showif field is number (Kenneth Grome 1997)
  2. Re: showif field is number (Pat McCormick 1997)
  3. showif field is number (Pat McCormick 1997)
>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's returned, whether it's blank or zero or some unpredictable number. You'll probably have to play around with this technique to see what you get ... :) Sincerely, Ken Grome ken@iav.com 808-737-6499 WebDNA Solutions http://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:

Memory Error message (1998) [WebDNA] Displaying age (2010) Bulletin Board.... (2000) WC2b15 File Corruption (1997) WCS Newbie question (1997) PCS Emailer's role ? (1997) Cybersource and WebCat ... again (2000) Flat-file to XML converter (2006) Comments in db? (1997) Nested tags count question (1997) tpl and Explorer (1998) NT version (1997) Browser based content... (2004) show all problem (1997) One more time (1997) WebCatalog 4 Install Problems - Not Answered ?? (2000) [WAY OFF TOPIC] anybody live in Kansas? (2003) Explorer 3.0/ Access Denied! (1997) Major Security Hole (solution with Welcome) (1998) A Global Variable (1997)