I am having problems passing FORM scope paramters to a<cfreport> page. I get a white browser window.
<cfreport template="../reports/vendor.cfr" format="flashpaper">
<cfreportparam name="ItemNum" value="#FORM.ItemNum#">
</cfreport>
if I actually type in a value it works fine. The report functions from within Report Builder correctly.
I have another report that takes a SESSION scope variable and works great.
This example works if you refresh the page for the default value but not if you used a different date on the form.
<cfparam name="FORM.date1" default="2006-07-18">
<cfset test = '#FORM.date1#'>
<cfreport template="../reports/dayend2.cfr" format="flashpaper">
<cfreportparam name="yesterday" value="#test#">
</cfreport>
I would appreciate any suggestions
Thanks,
MikeS
<cfreport template="../reports/vendor.cfr" format="flashpaper">
<cfreportparam name="ItemNum" value="#FORM.ItemNum#">
</cfreport>
if I actually type in a value it works fine. The report functions from within Report Builder correctly.
I have another report that takes a SESSION scope variable and works great.
This example works if you refresh the page for the default value but not if you used a different date on the form.
<cfparam name="FORM.date1" default="2006-07-18">
<cfset test = '#FORM.date1#'>
<cfreport template="../reports/dayend2.cfr" format="flashpaper">
<cfreportparam name="yesterday" value="#test#">
</cfreport>
I would appreciate any suggestions
Thanks,
MikeS