Peter,
You can use Evaluate
cfloop from=1 to=15 index=x
#Evaluate('Qty' x '_Value')#
/cfloop
The above would outputth VALUES of the variables:
Qty1_Value
Qty2_Value
Qty3_Value
Qty4_Value
Qty5_Value
HTH,
Mike
-Original Message-
From: Peter Filias
If so, you cal use an evaluate within the loop:
Or you can do it without using evaluate() by using summat like:
Replace this:
evaluate('dropship'indexvalue'_value')
With this:
variables['dropship'indexvalue'_value']
That assumes that the vars are in the variables scope - if they're
coming
28, 2004 10:00 AM
To: CF-Talk
Subject: RE: CFIF inside of CFLOOP
Peter,
You can use Evaluate
cfloop from=1 to=15 index=x
#Evaluate('Qty' x '_Value')#
/cfloop
The above would outputth VALUES of the variables:
Qty1_Value
Qty2_Value
Qty3_Value
Qty4_Value
Qty5_Value
HTH,
Mike
[Todays
3 matches
Mail list logo