I was able to get this to work with
<cfparam name="client.#variables.thisvar#"
default="#ucase(evaluate(variables.thisvar))#">
----- Original Message -----
From: Brian Thornton
To: CF-Talk
Sent: Wednesday, August 28, 2002 10:07 AM
Subject: setting client vars via list
I am trying to loop through a list and tack on a prefix of "client." to set client
variables in that list.... variables.thisvar is the index
<cfset clientvars =
"address1,address2,city,country,email,firstname,lastname,phonenumber,phonenumber2,state">
<cfloop list="#clientvars#" index="variables.thisvar">
<CFSET evaluate('client.'variables.Thisvar)= ucase(evaluate(variables.thisvar))>
</cfloop>
______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists