I'm trying to use CFREPORTPARAM to override the query of a
subreport but it is not working. It still uses the query that is
defined in Report Builder for the subreport when the report is run.
<CFREPORT TEMPLATE="Reports/rpt_AllProfileFieldsReportPerform.cfr"
QUERY="qryReport1"
FORMAT="PDF">
<CFREPORTPARAM name="ReportTitle" value=#varReportTitle#>
<cfreportparam name="BureauTitle" value=#bureauTitle#>
<cfreportparam name="Suffix_ID" value="#suffix#">
<cfreportparam query="ReportQuery" subreport="rpt_AuditorAssignment">
</CFREPORT>
<CFREPORT TEMPLATE="Reports/rpt_AllProfileFieldsReportPerform.cfr"
QUERY="qryReport1"
FORMAT="PDF">
<CFREPORTPARAM name="ReportTitle" value=#varReportTitle#>
<cfreportparam name="BureauTitle" value=#bureauTitle#>
<cfreportparam name="Suffix_ID" value="#suffix#">
<cfreportparam query="ReportQuery" subreport="rpt_AuditorAssignment">
</CFREPORT>