This is not guaranteed to work with future versions of CF.
Look into the setVariable() function.
jon
----- Original Message -----
From: "Bob Silverberg" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, May 21, 2001 9:46 AM
Subject: RE: Setting Dynamic Variables
> You've got the right idea, just the wrong syntax. Try:
>
> <cfset "Type#GetInfo.CurrentRow#" = Type>
>
> Bob
>
>
> -----Original Message-----
> From: Bernd VanSkiver [mailto:[EMAIL PROTECTED]]
> Sent: Monday, May 21, 2001 9:27 AM
> 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