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:

SmithMicro announcement at Macworld ?? (2004) WebCat2.0 [format thousands .0f] no go (1997) bug in [SendMail] (1997) RE: [WebDNA] Emailer and Comcast.net (2008) Sendmail truncation in Eudora Clients (1998) WebDNA Engine Won't Start (2003) Which beta for w* 4.1 and a problem w/b12 (1999) [AppendFile] problem (WebCat2b13 Mac .acgi) (1997) truncating email part II (1997) OT: Real time Stats (2003) WebCatalog + Linux + ODBC + Oracle ! ? (2000) Comments in db? (1997) Forms Search Questions (1997) syntax question, not in online refernce (1997) Multiple Pulldowns (1997) Secure server question (1997) orderfile stuff (1998) Contexts and Ampersands (1997) WebCat2 - Getting to the browser's username/password data (1997) Cookies (1999)