Re: New Cart No. on same page
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 47331
interpreted = N
texte = I've had just this problem before which is why I usually don't use it unless I absolutely need to and can't use [cart].-- Matthew C. BohneWeb DeveloperSandusky Register314 W. Market St.Sandusky, OH 44870419-625-5500 ext. 253matthewbohne@sanduskyregister.comhttp://www.sanduskyregister.comOn Friday, January 31, 2003 2:27 PM, Alex McCombie
wrote:>On 1/31/03 12:40 PM, Gary Krockover >wrote:>>> A self incrementing sku?>> >> Someone provided this a while back to me and I've long had it in my snippets>> list, hopefully it helps you:>> >> [math]Newsku=([Search>> db=database.db&neskudatarq=[blank]&deskusort=1&skutype=num&max=1][FoundItems>> ][sku][/FoundItems][/Search]+1)[/math]>>Just be careful with this in that there can only be one access to this 'at a>time'.>>If this weren't carefully monitored, 2 identical skus could be written back>to the db because of the delay from receiving and appending the db with the>new incremented sku.>>Based on your application you may not have that problem but its worth>mentioning.>>>Alex>>>>Alex J McCombie New World Media>Chief Information Officer Drawer 607>800/724.8973 Fair Haven, NY 13064>Alex@NewWorldMedia.com >http://OurClients.com>>Interface Designer WebDNA Programmer Database>Designer>>>>------------------------------------------------------------->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/>-------------------------------------------------------------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:
I've had just this problem before which is why I usually don't use it unless I absolutely need to and can't use [cart].-- Matthew C. BohneWeb DeveloperSandusky Register314 W. Market St.Sandusky, OH 44870419-625-5500 ext. 253matthewbohne@sanduskyregister.comhttp://www.sanduskyregister.comOn Friday, January 31, 2003 2:27 PM, Alex McCombie wrote:>On 1/31/03 12:40 PM, Gary Krockover >wrote:>>> A self incrementing sku?>> >> Someone provided this a while back to me and I've long had it in my snippets>> list, hopefully it helps you:>> >> [math]Newsku=([Search>> db=database.db&neskudatarq=[blank]&deskusort=1&skutype=num&max=1][FoundItems>> ][sku][/FoundItems][/Search]+1)[/math]>>Just be careful with this in that there can only be one access to this 'at a>time'.>>If this weren't carefully monitored, 2 identical skus could be written back>to the db because of the delay from receiving and appending the db with the>new incremented sku.>>Based on your application you may not have that problem but its worth>mentioning.>>>Alex>>>>Alex J McCombie New World Media>Chief Information Officer Drawer 607>800/724.8973 Fair Haven, NY 13064>Alex@NewWorldMedia.com >http://OurClients.com>>Interface Designer WebDNA Programmer Database>Designer>>>>------------------------------------------------------------->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/>-------------------------------------------------------------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/
Matthew Bohne
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:
Re2: frames & carts (1997)
no global [username] or [password] displayed ... (1997)
Bug Report, maybe (1997)
PCS Frames (1997)
PCS Frames-Default page is solution! (1997)
Multiple fields on 1 input (1997)
[Sum] function? (1997)
Processing all html files through WebCat or Typhoon (1998)
Is [thisurl] http or https? (1998)
RE: Sorting error (1997)
Date problems (1997)
NetSplat and WebCat2 (1997)
Database Field Additions (2000)
using showpage and showcart commands (1996)
RE: Can't get appendfile to work (1997)
Emailer port change (1997)
2.0Beta Command Ref (can't find this instruction) (1997)
shell problems again... (2003)
convert characters (2003)
Running _every_ page through WebCat ? (1997)