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
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-
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/
3 matches
Mail list logo