Re: Likelihood of a duplicate
This WebDNA talk-list message is from 2005
It keeps the original formatting.
numero = 62214
interpreted = N
texte = I timestamp my ID's like this:[math]((([math]{[date]}[/math])-1)*86400)+([math]{[time]}[/math])+172800[/math]-DanOn Tue, 14 Jun 2005 14:00:56 -0500 Clint Davis
wrote:> An even easier, and dare I say fool-proof, method would be to use autonumber> with 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/-------------------------------------------------------------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 timestamp my ID's like this:[math]((([math]{[date]}[/math])-1)*86400)+([math]{[time]}[/math])+172800[/math]-DanOn Tue, 14 Jun 2005 14:00:56 -0500 Clint Davis wrote:> An even easier, and dare I say fool-proof, method would be to use autonumber> with 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/-------------------------------------------------------------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/
"Dan Strong"
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:
PCS Emailer's role ? (1997)
OT - Javascript anyone? (2004)
verify online (1997)
[delete] problem (1997)
How fast is your server? (2002)
Cookie setting (2003)
Frames and WebCat (1997)
Multiple prices (1997)
Include binary files in template/XML (SOLVED/Request new (2004)
OT:looking for developers with solutions (2000)
A helpful tip to avoid pulling an Aaron OT (2000)
Using Plug-In while running 1.6.1 (1997)
Interpreting WebDNA in javascript (2006)
Frames and WebCat (1997)
Running _every_ page through WebCat ? (1997)
Searching multiple fields from one form field (1997)
Document Contains No Data! (1997)
[WebDNA] OT: what is the "right" platform ? (2009)
Card clearance, problems - solutions? (1997)
How to Display text in empty fields (1997)