Re: Cart Number sequence

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 14053
interpreted = N
texte = >I assume that a cart number assigned at 10:00am today is lower in number >then one assigned at 10:05am today. So one can sort on the cart number and >get the newest one at the top. Would there ever be a time that the cart >number would roll over and be a lower number. IE if cartnumber is greater >then 999 then cartnumber=1Cart numbers are guaranteed to be unique, but unfortunately they are not sortable the way you describe. If you're just looking for an ever-increasing number or some other way to 'serialize' records, you should look into using a counter of some kind instead. Or perhaps some [date][time] type of stuff.Grant Hulbert, V.P. Engineering | ==== eCommerce for the Rest of Us ==== Pacific Coast Software | WebCatalog, WebMerchant 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster San Diego, CA 92128 | SiteGuard 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Associated Messages, from the most recent to the oldest:

    
  1. Re: Cart Number sequence (Kenneth Grome 1997)
  2. Re: Cart Number sequence (grichter@panavise.com (Gary Richter) 1997)
  3. Re: Cart Number sequence (Grant Hulbert 1997)
  4. Cart Number sequence (grichter@panavise.com (Gary Richter) 1997)
>I assume that a cart number assigned at 10:00am today is lower in number >then one assigned at 10:05am today. So one can sort on the cart number and >get the newest one at the top. Would there ever be a time that the cart >number would roll over and be a lower number. IE if cartnumber is greater >then 999 then cartnumber=1Cart numbers are guaranteed to be unique, but unfortunately they are not sortable the way you describe. If you're just looking for an ever-increasing number or some other way to 'serialize' records, you should look into using a counter of some kind instead. Or perhaps some [date][time] type of stuff.Grant Hulbert, V.P. Engineering | ==== eCommerce for the Rest of Us ==== Pacific Coast Software | WebCatalog, WebMerchant 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster San Diego, CA 92128 | SiteGuard 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Grant Hulbert

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:

RE: [sendmail]- bcc? (1998) Sort Order on a page search (1997) 2.1 Stuff (1998) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) WebCat2 - [format thousands] (1997) creator code (1997) [WebDNA] "Technical Reference" link broken in admin (2013) Beta Documentation (1997) [sendmail] and [formvariables] (1997) Re:quit command on NT (1997) Webstar 1.3.1 PPC (1997) WebCat2b13MacPlugIn - More limits on [include] (1997) my price won't move (1997) Quick Question (1997) encrypting (2000) [WebDNA] WebDNA and MAMP/Apache (Mac) (2018) Web DNA... (2007) pop up building with summarize (1998) PCS Frames (1997) Format of Required fields error message (1997)