Hi all,
i'm running this and getting the follwing error:
Code:
<cfreport template="invoice_many.cfr" format="pdf" >
<cfreportparam name="from" value="2007-01-01">
<cfreportparam name="to" value="2008-01-01" >
</cfreport>
Error:
Report data binding error Incompatible java.lang.String value assigned to parameter from in the ColdFusionReport dataset..'"
I've tried this in the report query:
.....query.....
AND orders.date_placed >= '#param.from#'
AND orders.date_placed <= '#param.to#'
as well as this:
....query....
AND <cfqueryparam value="#param.to#" cfsqltype="CF_SQL_TIMESTAMP>
AND <cfqueryparam value="#param.to#" cfsqltype="CF_SQL_TIMESTAMP">
no luck i'm stuck! Any ideas would be appreciated.. I'm in Australia so not sure if this affects the date / time params as we run date format dd-mm-yyyy..
i'm running this and getting the follwing error:
Code:
<cfreport template="invoice_many.cfr" format="pdf" >
<cfreportparam name="from" value="2007-01-01">
<cfreportparam name="to" value="2008-01-01" >
</cfreport>
Error:
Report data binding error Incompatible java.lang.String value assigned to parameter from in the ColdFusionReport dataset..'"
I've tried this in the report query:
.....query.....
AND orders.date_placed >= '#param.from#'
AND orders.date_placed <= '#param.to#'
as well as this:
....query....
AND <cfqueryparam value="#param.to#" cfsqltype="CF_SQL_TIMESTAMP>
AND <cfqueryparam value="#param.to#" cfsqltype="CF_SQL_TIMESTAMP">
no luck i'm stuck! Any ideas would be appreciated.. I'm in Australia so not sure if this affects the date / time params as we run date format dd-mm-yyyy..