Actually, I tried Evaluate in several formats before emailing the list,
but thanks for the tip.  

Snipe - <CF_BotMaster Network="EFNet" Channel="ColdFusion">

On Thu, 1 Nov 2001, Don Vawter wrote:

> The cf parser always has trouble when you have arrays of structs in my
> experience. In a worst case scenario you can always use
> 
> <cfset evaluate( both sides of the expression)>
>  (trick i picked up from early spectra code)
> 
> but Raymonds solution is much better in this case.
> 
> 
> ----- Original Message -----
> From: "Aaron Rouse" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Thursday, November 01, 2001 7:20 AM
> Subject: Structures and SetVariable() function
> 
> 
> > 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.FormFie
> ldName#.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.FormFieldNam
> e#.Value",
> > qryGetInfo.FormFieldValue)>
> >
> > Snipe - <CF_BotMaster Network="EFNet" Channel="ColdFusion">
> > 
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
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