try the quote around the var name.

<cfset "Session.#FieldName#"  = Evaluate("Variables.#FieldName#")>

On Fri, 2004-03-12 at 01:02, Eugene Gorman wrote:
> Hello,
> 
> I having problems with this line of code:
> 
> <cfset Session.#EziFieldName#  = Evaluate("Variables.#EziFieldName#")>
> 
> I know this won't work but it is the best way I can think of explaining 
> what I want to do.
> 
> #FieldName# holds the name of another field that I want to access.
> 
> I want Session.#FieldName# to hold the value of Variables.#FieldName#
> 
> here is ruffly what I am trying to do.
> 
> 
> <cfoutput query="EziFieldDetails">
>       <cfset ignore = SetVariable("Variables.#FieldName#", 
> "#FieldDetails.SupplierFieldName#")>
> 
>       <cfset Session.#FieldName#  = Evaluate("Variables.#FieldName#")>
> 
> </cfoutput>
> 
> 
> Does any one have any ideas on what I can do? Does anyone have any idea 
> what I am trying to say? :)
> 
> Best Regards,
> Eugene Gorman
> http://www.velvetsystems.com
> 
> 
> ---
> You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to [EMAIL PROTECTED]
> 
> MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
> http://www.mxdu.com/ + 24-25 February, 2004


---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to