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:

Clickable Maps (1996) [WebDNA] Domain upgrade questions (2009) Getting around DOS filenames (2000) WebDNA for Window 2000 Server (2003) [WebDNA] IIS 6.0 Custom Errors & WebDNA 6.2 (2009) New Media Careers -- Jobs! (1998) Annoying character on writefile... (2004) TCPConnect Help (2003) [ShowNext] feature in 2.0 (1997) WebCat2: multiple currency support (1997) Emailer prefs in two places ... (1997) New index for docs (1997) Setting up WebCatalog with Retail Pro data (1996) Referrer (2000) ShowNext Command (1997) [WebDNA] [OT] Apple iPad (2010) Server Freeze (1998) WebMerchant 3.0 for Mac shipping now (1998) [WebDNA] Triggers not working (2011) What am I missing (1997)