This error occurs when you use a function on a string that is looking for a structure. Dump your variables and see which one has a string value instead of a key value pairs.
On Tue, Oct 19, 2010 at 10:50 AM, Glyn Jackson <[email protected]> wrote: > > Hi, > > quick question, if anyone can help. > > below you can see a entity for Campaign model. I want to get all campaign > that have a company id of x (1 to many relationship) so i tried this.... > > > returnobj = EntityLoad("Campaign",{company='1'},"#sortColumn# #sort#"); > > however this gives me the following error... > "You have attempted to dereference a scalar variable of type class > java.lang.String as a structure with members. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338337 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

