Hi,

i didn't find a good documentation for data iteration. My problem:

- in Step1: the user enters the main "properties" of the product and
chooses how many product variations should be entered (different sizes,
prices, ...)
- Step 2 should loop from 1 to output.iMaxVarations (from step1) and write
data to a property array  (e.g. output.price[1] ...)

My approach:

- step2 is a conditional data iteration step with the condition (
#output.iCurrVariation# LTE #output.iMaxVarations# )
- output.iCurrVariation defaults to 1
- in each iteration for step 2, output.iCurrVariation increments by 1

Is this the correct way? Is there a better/easier/faster way to do this?


--
Hendrik Kramer <[EMAIL PROTECTED]>
Projektleiter Web Applications [VRG E-Solution]
VRG - Vereinigte Rechenzentren GmbH
Mittelkamp 110-118 , 26125 Oldenburg
Tel. (0441) 3907-178 | Fax (0441) 3907-6178
http://www.e-solution.vrg.de/


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to