How about

<cfset varName = form.Type & GetInfo.CurrentRow>
<cfset "#varName#" = Type>

Nick

-----Original Message-----
From: Bernd VanSkiver [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 21, 2001 2:27 PM
To: CF-Talk
Subject: Setting Dynamic Variables


Trying to create a set of variables dynamically but
cannot think of how to do it.  Here is what I am
trying to do:

<cfset Evaluate("form.Type" & GetInfo.CurrentRow) =
Type>

It won't let me use the Evaluate() function on the
left side though, does someone know of a way to do
this?  I can't think of anything.

=====
Bernd VanSkiver
[EMAIL PROTECTED]
ColdFusion Developer
ICQ UIN: 916324
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to