Re: [CART] inside a [LOOP]

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 11430
interpreted = N
texte = >Is there a way to assign a unique cart# to each record added with an >[append] inside of a [loop] context? Just using id=[cart] results in >multiple records with the same cart#. Right now I am using > >id=[math][cart]*[random][/math]Try id=[cart][index]That will stick an ever-increasing number onto the end of whatever the cart is (the [index] value comes from your [loop] context)Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors ===== Pacific Coast Software | WebCatalog Pro, WebCommerce Solution 11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, 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] inside a [LOOP] (Grant Hulbert 1997)
  2. [CART] inside a [LOOP] (Dan L Gilpin 1997)
>Is there a way to assign a unique cart# to each record added with an >[append] inside of a [loop] context? Just using id=[cart] results in >multiple records with the same cart#. Right now I am using > >id=[math][cart]*[random][/math]Try id=[cart][index]That will stick an ever-increasing number onto the end of whatever the cart is (the [index] value comes from your [loop] context)Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors ===== Pacific Coast Software | WebCatalog Pro, WebCommerce Solution 11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, 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:

can you reassign loop index? (1998) Emailer setup (1997) Banners (1997) RE: type 2 errors with ssl server (1997) Updating checkboxes made easy !!! (1998) OT: Windows-based Code Editor (2002) Comments in db? (1997) Separate SSL Server (1997) Mail Service Dead (1998) Quantity (1998) authenticate (2002) Sitebuilder (2004) Help! WebCat2 bug (1997) 256 character limit in URL? Kinda urgent... (2004) Searching for the end (1998) Nested vs conditional (1997) Location of Browser Info.txt file (1997) carriage returns in data (1997) Re[2]: Next X hits (1996) dates and hex formatting (1997)