Here’s the function in a cfc that’s causing the error. It seems like the problem re-occurs whenever the runtime query being appended does not match the first one instantiated....:-(
<cffunction name=”appendqry” returntype=”query” hint=”Appends a query in a named instance” output=”No”> <cfargument name=”Query” type=”query” required=”Yes”> <cfargument name=”InstanceName” type=”string” default=”Query”> <cfif not isDefined(“this.#arguments.InstanceName#”)> <cfscript> “this.#arguments.InstanceName#” = arguments.query; </cfscript> <cfelse> <cfquery name=”this.#arguments.InstanceName#” dbtype=”query”> SELECT * FROM this.#arguments.InstanceName# UNION ALL SELECT * FROM arguments.Query </cfquery> </cfif> <cfreturn evaluate(“this.” & arguments.InstanceName) /> </cffunction> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4