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


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:218605
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

Reply via email to