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 it is 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 has changed.If I add WebDNA to track the progression of this code everything works fine on screen. Every time I reload the page customernum increments by 3. It just never writes the new number back to the file.I know that I don't need the [commitdatabase customernum.txt], but I threw that in to force WebCat to write the file, with no sucess.Any ideas? John Davies jd@professionalideas.com _____________________________________________ Martin Associates Design Agency http://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:

    
  1. Re: Solution: Replace/Commit not Replacing/Commiting (John Davies 2000)
  2. Re: Replace/Commit not Replacing/Commiting (dale 2000)
  3. Re: Solution: Replace/Commit not Replacing/Commiting (Bob Sneidar 2000)
  4. Re: Solution: Replace/Commit not Replacing/Commiting (Peter Ostry 2000)
  5. Solution: Replace/Commit not Replacing/Commiting (John Davies 2000)
  6. Re: Replace/Commit not Replacing/Commiting (John Peacock 2000)
  7. Re: Replace/Commit not Replacing/Commiting (John Davies 2000)
  8. Re: Replace/Commit not Replacing/Commiting (Alex McCombie 2000)
  9. Re: Replace/Commit not Replacing/Commiting (John Davies 2000)
  10. Re: Replace/Commit not Replacing/Commiting (Anup Setty 2000)
  11. Re: Replace/Commit not Replacing/Commiting (John Davies 2000)
  12. Re: Replace/Commit not Replacing/Commiting (Jason Sofonia 2000)
  13. Replace/Commit not Replacing/Commiting (John Davies 2000)
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 it is 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 has changed.If I add WebDNA to track the progression of this code everything works fine on screen. Every time I reload the page customernum increments by 3. It just never writes the new number back to the file.I know that I don't need the [commitdatabase customernum.txt], but I threw that in to force WebCat to write the file, with no sucess.Any ideas? John Davies jd@professionalideas.com _____________________________________________ Martin Associates Design Agency http://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:

Search Engine bots (2002) Filemaker Pro and [convertchars] (2000) lookup command (1999) [WebDNA] how to clear the [username] and [password] values the browser has stored? (2008) WebCommerce: Folder organization ? (1997) SearchTitle Question (1998) Help name our technology! (1997) emailer 150 (1997) b12 cannot limit records returned and more. (1997) Programmer Needed (1998) [format xs] freeze (1997) Netscape v. IE (1997) Record size (1998) Javascripts (1998) [WebDNA] Need Rosetta to install on OS X? (2010) JavaScript form question (2001) Weird Math and SV (1997) WebCatalog NT beta 18 now available (1997) WebCat2b13MacPlugin - nested [xxx] contexts (1997) Nav. 4 probs with cart - Serious problem (1997)