Re: Updating Integer value in DB
This WebDNA talk-list message is from 2007
It keeps the original formatting.
numero = 68686
interpreted = N
texte = Hey DonovanThis is the best tip I have seen in years, I always used to use [Format] !On 15 Mar 2007, at 4:15 AM, Donovan Brooke wrote:> Lastly, along with what Matthew was talking about, "[math]" doesn't > like to see blank values, and will> break if that happens. A trick to getting around this, if you > think there is a chance for a blank value,> is to put a 0 before the questionable value/s..: ON_HAND=[math]0 > [ON_HAND]+0[updatevalue][/math]-------------------------------------------------------------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:
Hey DonovanThis is the best tip I have seen in years, I always used to use [format] !On 15 Mar 2007, at 4:15 AM, Donovan Brooke wrote:> Lastly, along with what Matthew was talking about, "[math]" doesn't > like to see blank values, and will> break if that happens. A trick to getting around this, if you > think there is a chance for a blank value,> is to put a 0 before the questionable value/s..: ON_HAND=[math]0 > [ON_HAND]+0[updatevalue][/math]-------------------------------------------------------------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/
Stuart Tremain
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] Hard-coded db write delay when running certain code? (2011)
WebCatalog2 Feature Feedback (1996)
feature request.... [stop] (2000)
apostrophe in search item (1997)
Windows: Apache in place of IIS (2002)
Encypt Question - Making New Users.db (1999)
WebCatalog in the search engines (2001)
Upload and WebCat (1998)
Limit on nested [ShowIf]'s? (1997)
[OT] See Flash? (2003)
WebCatalog.acgi quitting with error Type 2 (1998)
Speed Optimization - Mac (1997)
WebCatalog Use Question (1997)
Setting up shop (1997)
NetSplat and WebCat2 (1997)
Version f1 status (1997)
Ampersand Character (&) (1997)
international time (1997)
[taxrate] question (1997)
Re:appending to the database (1999)