Why don't you use setVariable?

like this:

<cfset setVariable("fname_#aa#", value)>

Greetings / GrĂ¼sse
Gert Franz
Customer Care
Railo Technologies GmbH
[EMAIL PROTECTED]
www.railo.ch

Join our Mailing List / Treten Sie unserer Mailingliste bei:
deutsch: http://de.groups.yahoo.com/group/railo/
english: http://groups.yahoo.com/group/railo_talk/



daniel kessler schrieb:
> I have a recordset that has several attendees.  I need to create variables on 
> the fly for each record cause I won't know how many there are.  It can be 
> infinite (everyone on the planet).  Of course, the problem is that I can't 
> use an evaluate on the left side.  I can't think of a way around this.  I'll 
> need fname_1,fname_2,fname_3,fname_n etc.
>
> Here's my most recent failure:
> <cfloop from="1" to="#getAttendees.recordCount#" index="aa">
>         <cfset evaluate("fname_#aa#") = getAttendees.fname[aa]>
> </cfloop>
>
> Any thoughts are appreciated?
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259053
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to