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 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/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Likelihood of a duplicate (Palle you around?) ( "Dan Strong" 2005)
  2. Re: Likelihood of a duplicate (Palle you around?) ( "WebDna @ Inkblot Media" 2005)
  3. Re: Likelihood of a duplicate (Palle you around?) ( "Dan Strong" 2005)
  4. Re: Likelihood of a duplicate (Palle you around?) ( "Palle B. Nielsen (PowerPalle)" 2005)
  5. Re: Likelihood of a duplicate (Palle you around?) ( "Dan Strong" 2005)
  6. Re: Likelihood of a duplicate ( "Dan Strong" 2005)
  7. Re: Likelihood of a duplicate ( Terry Wilson 2005)
  8. Re: Likelihood of a duplicate ( "Dan Strong" 2005)
  9. Re: Likelihood of a duplicate ( "Dan Strong" 2005)
  10. Re: Likelihood of a duplicate ( John Peacock 2005)
  11. Re: Likelihood of a duplicate ( Lester 2005)
  12. Re: Likelihood of a duplicate ( "Dan Strong" 2005)
  13. Re: Likelihood of a duplicate ( Donovan Brooke 2005)
  14. Re: Likelihood of a duplicate ( Donovan Brooke 2005)
  15. Re: Likelihood of a duplicate ( "Dan Strong" 2005)
  16. Re: Likelihood of a duplicate ( Gary Krockover 2005)
  17. Re: Likelihood of a duplicate ( John Peacock 2005)
  18. Re: Likelihood of a duplicate ( Clint Davis 2005)
  19. Re: Likelihood of a duplicate ( Gary Krockover 2005)
  20. Re: Likelihood of a duplicate ( "Dan Strong" 2005)
  21. Re: Likelihood of a duplicate ( Clint Davis 2005)
  22. Re: Likelihood of a duplicate ( Gary Krockover 2005)
  23. Re: Likelihood of a duplicate ( Bob Minor 2005)
  24. Likelihood of a duplicate ( Lester 2005)
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/ 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)