Re: Assigning carts

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 17052
interpreted = N
texte = On 4/14/98 10:58 PM, Kenneth Grome wrote:>This should work too ... > >[founditems] >UniqueNumber = [cart][index] >[/founditems]I just wasn't sure that either of these would guarantee a unique number, not knowing how the number was generated. So I went like this.[founditems] [writefile [index]A[cart]] blah blah blah [/founditems]I was worried that the cart could possibly generate a duplicate just adding 1 digit to the end. Robert Minor__________________________________________________________ CyberMill Website Designers & Publishers 8616 Joseph Ave St. Louis, MO 63144 voice 314-962-4024 email: webmaster@cybermill.com http://www.cybermill.com/ __________________________________________________________ We are not responsible for any misspelling or misinformation please check with your internet provider for defects. Associated Messages, from the most recent to the oldest:

    
  1. Re: Assigning carts (Kenneth Grome 1998)
  2. Re: Assigning carts (Bob Minor 1998)
  3. Re: Assigning carts (Kenneth Grome 1998)
  4. Re: Assigning carts (PCS Technical Support 1998)
  5. Assigning carts (bob 1998)
On 4/14/98 10:58 PM, Kenneth Grome wrote:>This should work too ... > >[founditems] >UniqueNumber = [cart][index] >[/founditems]I just wasn't sure that either of these would guarantee a unique number, not knowing how the number was generated. So I went like this.[founditems] [writefile [index]A[cart]] blah blah blah [/founditems]I was worried that the cart could possibly generate a duplicate just adding 1 digit to the end. Robert Minor__________________________________________________________ CyberMill Website Designers & Publishers 8616 Joseph Ave St. Louis, MO 63144 voice 314-962-4024 email: webmaster@cybermill.com http://www.cybermill.com/ __________________________________________________________ We are not responsible for any misspelling or misinformation please check with your internet provider for defects. Bob Minor

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:

Applying discounts as more items are added... (1997) Need relative path explanation (1997) jpg and gif format thumbnails (2004) Size limit for tmpl editor ? (1997) what servers are supported for Typhoon? (1997) Greeting Card System (2000) Showing formatted results in tables (2002) I'm tired of all this! (2000) Summary search -- speed (1997) Trouble with formula.db + more explanation (1997) A little help on e-mail (HELP!!! :-) ) (1998) Electronic Delivery (1997) Re2: frames & carts (1997) Desperatly seeking (2000) Re:no template caching (1997) Further tests with the infamous shipCost (1997) WebCat Code and WebStar Search? (2000) More than one db with the same namn (was: WC2f3) (1997) Problems getting parameters passed into email. (1997) NEW INFO: I'm stuck: Can't open order file. Ignoring [OrderFile] context (2000)