I will give that a shot.... ________________________________
From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Thu 11/11/2004 12:49 PM To: CF-Talk Subject: RE: Dereference Scalar Whatever > What is the issue with this, and if this is bad, any > suggestions? Created a structure called session.bigquery so > it would be in session for use throughout a few pages.... > > after a form submit, doing this: > > <cfscript> > > StructInsert(session.bigquery, "state", form.state); > > </cfscript> > > which yields the impertinent "You have attempted to > dereference a scalar variable of type class java.lang.String > as a structure with members." Presumably, either Session.bigquery or Form is no longer a structure at the time you're running this code. Perhaps you inadvertently overwrote Session.bigquery? On an unrelated note, instead of using StructInsert I'd recommend that you just use a simple assignment: Session.bigquery.state = Form.state; Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183979 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54