Couple things Sandy, first shouldn't you have this: <cfset var local=structNew() />
(you're setting it to the string "structnew()"). And second, try using just "from arguments.recordset" instead of "from #arguments.recordset#. Note that recordset could well be a reserved work in QofQ so you might also try using another name. I ran into a similar situation where I was going crazy trying to figure out why a QofQ was breaking until I found out that "local" is a reserved word for QofQ! hth, Brian On 9/19/05, Sandy Clark <[EMAIL PROTECTED]> wrote: > I'm getting an error while trying to execute a q of q in a CFC. > > The error I am getting is "Complex object types cannot be converted to > simple values." which seems to be coming from the "From" statement. > > <cffunction name="qry_orgsubset" access="remote" returntype="query"> > <cfargument name="recordset" type="query" required="true"> > > <cfset var local="structnew()"> > <cfquery dbtype="query" name="local.rs_subset"> > Select > App_No, Org_Name, Org_Unit, Org_Address1, > Org_Address2, Org_City, > Org_State, Org_Zip, Org_State_Other, > Org_Country > From #arguments.recordset# > </cfquery> > <cfreturn local.rs_subset> > </cffunction> > > Can anyone shed any light on this? It's the first time I am attempting to > use Query of Queries within a CFC. > > Sandy Clark > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:218607 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=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54