Re: Likelihood of a duplicate
This WebDNA talk-list message is from 2005
It keeps the original formatting.
numero = 62211
interpreted = N
texte = An even easier, and dare I say fool-proof, method would be to use autonumberwith your append context as such:[append db=my.db&autonumber=ID]your stuff here[/append]On 6/14/05 1:41 PM, "Gary Krockover"
wrote:> I use an incremental SKU on my blogs/forums. The append looks like:> > [append db=database]SKU=[math]Newsku=([Search> db=database.db&neskudatarq=[blank]&deskusort=1&skutype=num&max=1][FoundItems][> sku][/FoundItems][/Search]+1)[/math]&something=somethingelse[/append]> > Which simply looks up the last SKU entered and increments it by +1 before> appending.> > GJK> > At 01:10 PM 6/14/2005, you wrote:>> I assign an id to a new entry not by [cart] but by>> [date][time] so that an id might appear like:>> 20050614115518 and so forth-------------------------------------------------------------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:
An even easier, and dare I say fool-proof, method would be to use autonumberwith your append context as such:[append db=my.db&autonumber=ID]your stuff here[/append]On 6/14/05 1:41 PM, "Gary Krockover" wrote:> I use an incremental SKU on my blogs/forums. The append looks like:> > [append db=database]SKU=[math]Newsku=([Search> db=database.db&neskudatarq=[blank]&deskusort=1&skutype=num&max=1][founditems][> sku][/FoundItems][/Search]+1)[/math]&something=somethingelse[/append]> > Which simply looks up the last SKU entered and increments it by +1 before> appending.> > GJK> > At 01:10 PM 6/14/2005, you wrote:>> I assign an id to a new entry not by [cart] but by>> [date][time] so that an id might appear like:>> 20050614115518 and so forth-------------------------------------------------------------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/
Clint Davis
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:
how to use WebCat w. SSL & CyberCash (1998)
RE: type 2 errors with ssl server (1997)
rotating thumbnails (1997)
upgrading (1997)
UPS Shipping Calc - 2 items (2000)
Re1000001: Setting up shop (1997)
PCS Frames (1997)
upgrading (1997)
Upcoming 2.1 Release and PCS Committment (1997)
Lost Password? (2002)
MacAuthorize order data fields WAS:How To question... (1997)
Requiring that certain fields be completed (1997)
Trigger Error (2001)
b12 cannot limit records returned and more. (1997)
Deleting Multiple Database Records based on Checkbox (1998)
Error Lob.db records error message not name (1997)
WebCatalog2 Feature Feedback (1996)
PCS Customer submissions ? (1997)
[ShowIf] and empty fields (1997)
Multiple security dbs (1997)