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:

Cold Fusion Buster (1997) Canada oh Canada (2004) open source development (2001) 3.05b12 (1999) PCS Frames (1997) Templates for Customer Database? (1997) Multiple fields on 1 input (1997) Hyperboard/bulletin board available (1998) apparent variable variable display? (2000) The beginning (1997) emailer on Windows Beta 18 (1997) WebCat2b13MacPlugin - nested [xxx] contexts (1997) Limit on nested [ShowIf]'s? (1997) Mac List Servers (was: Duplicate Hell) (1999) Error:Too many nested [xxx] contexts (1997) I can't set the variable (2005) Change in Host? (1999) Having Webcatalog Print results - Possible Solution (1999) Help name our technology! (1997) Webcat no longer supported? (2006)