My <cfdump var="#q_RptResult#"> show error
I'm calling a stor. proc. (in Sybase). If I don't cfdump the resultset, my application run without showing me any problem but when I put cfdump I got the error message saying: CF does not know what q_RptResult is
My code below:
<cfstoredproc procedure="myreport" datasource="#DSN#">
<cfprocparam type="In" cfsqltype="CF_SQL_VARCHAR" dbvarname="@compcode" value="#compcode#">
<cfprocparam type="In" cfsqltype="CF_SQL_VARCHAR" dbvarname="@InventYear" value="#InventYear#">
<cfprocresult name="q_RptResult">
</cfstoredproc>
<cfdump var="#q_RptResult#"> <--- this causing error. Eliminate cfdump eliminate the error message
