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:

Shared Webstar Directory (1998) [defined]ish (1997) Separate SSL Server (1997) CyberCash problem in OS9/4.5 -> OSX/5.1 transition (2003) Summary layout (1997) Locking up with WebCatalog... (1997) [SearchString] (1998) Problem displaying search result (1997) Webcat interfering with Webstar? (1998) Middle problem (2005) Creating 404 Not Found pages (1999) Configuring E-mail (1997) WebCat2 - many [carts] on one template page? (1997) Country & Ship-to address & other fields ? (1997) CSV? (2000) WebCat2: multiple currency support (1997) problems with 2 tags (1997) taxTotal (1997) Emailer choke (1997) WebCat2: Formulas.db question (1997)