Could you show more of your code. This works for me. Oh and you don't need to assign to a temp var when using QuerySetCell.
Adrian > -----Original Message----- > From: Kamru Miah [mailto:k.m...@csl.gov.uk] > Sent: 30 June 2009 11:43 > To: cf-talk > Subject: query object error > > > I am using CF8 and I have a query object (with 1 record) called 'role' > with the following 4 column names: groups, positions, role and teams. > > I wish to work around a problem by inserting a value ('homeCla') to the > 'positions' column/cell. > > Using <cfset Temp = QuerySetCell(role, 'positions', 'homeCla')> gives > me the following error (note that cfdump does show the query exists!): > > 'The object (coldfusion.runtime.Struct) is not an query object.' > > Any ideas how I can over come this problem please? > > Thanks in anticipation. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324058 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4