Replace/Commit not Replacing/Commiting
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 35896
interpreted = N
texte = Ok here's a good one,Here is what I want this to do:1) Pull a number from a db.2) Increment that number by 3.3) Save that number back to the file, so that next time I call the number itis different.[replace db=customernum.txt&eqskudatarq=fred]customernum=[mycustomernum][/replace][commitdatabase customernum.txt]Here is what I see on screen:1) customerum gets pulled from db.2) mycustomernum increments by 3.3) When I open the file to check to see if it has been updated, nothing haschanged.If I add WebDNA to track the progression of this code everything works fineon screen. Every time I reload the page customernum increments by 3. It justnever writes the new number back to the file.I know that I don't need the [commitdatabase customernum.txt], but I threwthat in to force WebCat to write the file, with no sucess.Any ideas?  John Daviesjd@professionalideas.com_____________________________________________Martin Associates Design Agencyhttp://www.professionalideas.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://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Ok here's a good one,Here is what I want this to do:1) Pull a number from a db.2) Increment that number by 3.3) Save that number back to the file, so that next time I call the number itis different.[replace db=customernum.txt&eqskudatarq=fred]customernum=[mycustomernum][/replace][commitdatabase customernum.txt]Here is what I see on screen:1) customerum gets pulled from db.2) mycustomernum increments by 3.3) When I open the file to check to see if it has been updated, nothing haschanged.If I add WebDNA to track the progression of this code everything works fineon screen. Every time I reload the page customernum increments by 3. It justnever writes the new number back to the file.I know that I don't need the [commitdatabase customernum.txt], but I threwthat in to force WebCat to write the file, with no sucess.Any ideas?  John Daviesjd@professionalideas.com_____________________________________________Martin Associates Design Agencyhttp://www.professionalideas.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://search.smithmicro.com/
John Davies 
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:
 
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
 
Incorrect Value Display (2000)
 
[shell] (2000)
 
WebCatalog and Filemaker (1996)
 
Shell and telnet (2002)
 
WebMerchant Config problems (2000)
 
HELP WITH DATES (1997)
 
possible, WebCat2.0 and checkboxes-restated (1997)
 
MS Access data conversion (2001)
 
RE: Problems with dbcatalog.exe (1997)
 
Banners (1997)
 
Shownext problems (1999)
 
Logging purchases (1997)
 
PIXO (1997)
 
Active Server Code... (1998)
 
http or https? (2001)
 
[WebDNA] PayPal Instant Payment Notification Guide (2009)
 
NTbeta18 corrupted? (1997)
 
SiteGuard Admin Feature ? (1997)
 
WebCat2: multiple currency support (1997)