I am trying to set some values to a structure that I have already created
on my page, but set them based upon some data I pull from my
database.  When I try the following inside a loop:

<cfset tmp =
SetVariable("Ses.Profile[""frm#qryGetInfo.FormNumber#""].#qryGetInfo.FormFieldName#.Value",
qryGetInfo.FormFieldValue)>

I get this error:

Parameter 1 of function SetVariable which is now
"Ses.Profile["frm3"].CRANEUSED.Value" must be a syntactically valid
variable name

When I use this, I get not errors however when I do a cfobject on my
structure I get Crane.Vale on the same level, instead of Crane and then
under than Value.

<cfset tmp =
SetVariable("Ses.Profile.frm#qryGetInfo.FormNumber#.#qryGetInfo.FormFieldName#.Value",
qryGetInfo.FormFieldValue)>

Snipe - <CF_BotMaster Network="EFNet" Channel="ColdFusion">
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.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

Reply via email to