What I'm doing wrong? that is the question.
I'm trying to output a resultset.
MODEL
=======
<cffunction name="getOurActions" returntype="query">
..... my sql goes there .....
<cfreturn qryOurActions>
</cffunction>
CONTROLLER
=============
<cfset ouractions =
model("action").getOurActions(memberid="#
session.user.id#")>
VIEW
=====
<cfparam name="ouractions" type="query">
<cfloop query="#ouractions#">
#ouractions.description#
</cfloop>
and then I get the error message " Complex object types cannot be
converted to simple values. "
I did a cfdump var="#ouractions#" and I get this:
query
RESULTSET
query
DESCRIPTION
1 test1
2 test2