Re: unique ascending numbers
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 50176
interpreted = N
texte = On 9.5.2003 19:06 Uhr, Marc Kaiwi
wrote:> Humm, I was hoping to avoid throwing in an extra search just to> retrieve the last SKU number in the db. (I have a thing about extra> processing simply because it's easy)Do you have 5.x? If so then use &autonumber=field and you are done, no extraprocessing! > Can't I get something like the number of seconds since 1904 or> something like that? Wouldn't that work for me? Or not?Yes, you can, but still for safety I would throw in a random to make surethey are unique. You could create a[random][random]_[math]{[date]}[/math][math]{[time]}[/math].Sincerely,Nitai AventaggiatoCEO-- Tools to energize your businessContent Management & eBusiness SystemsComputerOil GmbH http://computeroil.com/Unionstrasse 4 info@computeroil.com8032 Zürich/SwitzerlandTel: +41 (0)43 333 1 555-------------------------------------------------------------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:
On 9.5.2003 19:06 Uhr, Marc Kaiwi wrote:> Humm, I was hoping to avoid throwing in an extra search just to> retrieve the last SKU number in the db. (I have a thing about extra> processing simply because it's easy)Do you have 5.x? If so then use &autonumber=field and you are done, no extraprocessing! > Can't I get something like the number of seconds since 1904 or> something like that? Wouldn't that work for me? Or not?Yes, you can, but still for safety I would throw in a random to make surethey are unique. You could create a[random][random]_[math]{[date]}[/math][math]{[time]}[/math].Sincerely,Nitai AventaggiatoCEO-- Tools to energize your businessContent Management & eBusiness SystemsComputerOil GmbH http://computeroil.com/Unionstrasse 4 info@computeroil.com8032 Zürich/SwitzerlandTel: +41 (0)43 333 1 555-------------------------------------------------------------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/
Nitai @ ComputerOil
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:
Overiding the sku (2001)
Re:Emailer and encryption (1997)
encrypted query string trouble on OSX (2001)
New Webcatalog for Mac (1997)
[cart]'s ever get recycled? (2000)
[INCLUDE] Limitations (1998)
[SHOWIF]s and empty arguments (1997)
Send massmail (2000)
[WebDNA] Permissions on DB files (2012)
Download (1999)
Bug? (1997)
Hello world ... (2002)
RE: IIS 4 (1998)
Emailer setup (1997)
[LOOKUP] (1997)
Webcat run amuk (2002)
Web Merchant process after credit card clears (1998)
WebCatalog2 Feature Feedback (1996)
categories (1997)
[quantity] within formulas (1997)