oh, you must mean "TYPE_ID" and not "CONCENR_ID"?
looking at your original post, it shows that the value
assigned to your
"type_id" cfselect is '16,Special Projects,36,QA', which is
obviously
not numeric...
i suggest you stop messing with arrays and just return
queries from your
cfc functions - that's all you need for the selects to work.
change your cfc functions to the following:
<cffunction name="call_types" access="remote"
returntype="QUERY">
<cfset var data = querynew("concern_type, type_id",
"varchar, integer")>
<cfset queryAddRow(data)>
<cfset querySetCell(data,"concern_type", "Special
Projects")>
<cfset querySetCell(data, "type_id", 16)>
<cfset queryAddRow(data)>
<cfset querySetCell(data,"concern_type", "QA")>
<cfset querySetCell(data, "type_id", 36)>
<cfreturn data>
</cffunction>
<cffunction name="get_concerns" access="remote"
returntype="QUERY">
<cfargument name="type_id" type="numeric"
required="yes">
<cfset var data = "">
<cfquery name="data" datasource="#dsn#">
SELECT concern, concern_id
FROM pbr_concerns_masters
WHERE concern_type = <cfqueryparam
cfsqltype="cf_sql_integer"
value="#arguments.type_id#">
ORDER BY concern
</cfquery>
<cfreturn data>
</cffunction>
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/