RE: creating dynamic variables

2006-11-03 Thread Andrew Tyrone
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

RE: creating dynamic variables

2006-11-03 Thread Bobby Hartsfield
cfset fname#aa# = But id use a struct or array and do something like... cfset fnames = arraynew(1) / cfloop... cfset fnames[aa] = getAttendees.fname[aa] / /cfloop Then arraylen(fnames) is the number of fnames and you just loop over that to get them back. -Original Message-

Re: creating dynamic variables

2006-11-03 Thread Gert Franz
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/