Try <cfset form[variables.thisForm] = thisItem>, also make sure variables.thisForm is valid. It may equal "", and form.(nothing) would not be valid.
======================================================================= Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc Email : [EMAIL PROTECTED] WWW : www.camdenfamily.com/morpheus Yahoo IM : morpheus "My ally is the Force, and a powerful ally it is." - Yoda > -----Original Message----- > From: Paul Giesenhagen [mailto:[EMAIL PROTECTED]] > Sent: Monday, January 13, 2003 1:28 PM > To: CF-Talk > Subject: Variables in CFMX > > > I have the following variable being set in a loop ... CFMX > doesn't like it ... and below is the error too ... any suggestions? > > > Trying to set: <cfset "form.#variables.thisForm#" = thisItem> > > Error is: > > The string "form." is not a valid ColdFusion variable name. > Valid variable names must start with a letter, and can only > contain letter, numbers, and underscores. > > > Thanks in advance! > Paul Giesenhagen > QuillDesign > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

