Re: New Cart No. on same page
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 47326
interpreted = N
texte = A self incrementing sku?Someone provided this a while back to me and I've long had it in my snippetslist, hopefully it helps you:[math]Newsku=([Searchdb=database.db&neskudatarq=[blank]&deskusort=1&skutype=num&max=1][FoundItems][sku][/FoundItems][/Search]+1)[/math]The new sku is: [Newsku]GKI have a trigger that is taking information from a database that anothercompany supplies us and writing it to our own database. But there isn't aseparate unique reference... so I'm writing a sku=[cart] for each entry intoour database after the information is processed.This all occurs on one page, I need a different cart number for eachentry... Can I do this?v 4.0.2 rc2--Matthew C. BohneWeb DeveloperSandusky Register314 W. Market St.Sandusky, OH 44870419-625-5500 ext. 253matthewbohne@sanduskyregister.comhttp://www.sanduskyregister.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:
A self incrementing sku?Someone provided this a while back to me and I've long had it in my snippetslist, hopefully it helps you:[math]Newsku=([Searchdb=database.db&neskudatarq=[blank]&deskusort=1&skutype=num&max=1][FoundItems][sku][/FoundItems][/Search]+1)[/math]The new sku is: [Newsku]GKI have a trigger that is taking information from a database that anothercompany supplies us and writing it to our own database. But there isn't aseparate unique reference... so I'm writing a sku=[cart] for each entry intoour database after the information is processed.This all occurs on one page, I need a different cart number for eachentry... Can I do this?v 4.0.2 rc2--Matthew C. BohneWeb DeveloperSandusky Register314 W. Market St.Sandusky, OH 44870419-625-5500 ext. 253matthewbohne@sanduskyregister.comhttp://www.sanduskyregister.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/
Gary Krockover
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:
WAP (2000)
2.0 Info (1997)
WebCat2b13MacPlugIn - [include] (1997)
WebCatalog 3.0.8 is on FTP... (2000)
webcat2b12 CGI -- Date comparisons (1997)
[WriteFile] problems (1997)
Return records from another (1997)
Show if time tags (1997)
Multiple catalog databases and showcart (1997)
Webcatalog/Butler (1998)
Getting Values into Cart the easy way?* (1998)
Login and pass variables to [protect] tag (2001)
formatting dates from a field ... (1997)
[OT] Gateway and Merchant Fees! (2006)
autosensing lanague selection (1997)
WebDNA Solutions ... (1997)
Deleting Multiple Database Records based on Checkbox (1998)
Nested tags count question (1997)
pictures / referrer etc. (1998)
[append] vs. [appendfile] delta + question? (1997)