Sub Reports - missing parameter values
Hi,
I am trying to add a subreport to my main report.
I have created a separate .rpt file for the Main report and the subreport.
both reports display proper outputs when I run them individually.
however, when I use one report as a sub-report, then I get - missing parameters values - error.
Even when I delete all parameters/data in the report, i still keep getting the same error.
Question: does anyone know why do i get errors about missing parameters evenwhen there are no parameters in the subreport?
Thanks!
Re: Sub Reports - missing parameter values
Did you delete the parameters from the .rpt file or the subreport? If you deleted from the .rpt file you need to reload it as a subreport into the main report.
Re: Sub Reports - missing parameter values
i deleted the parameters from the subreport
Re: Sub Reports - missing parameter values
Re: Sub Reports - missing parameter values
Please check both report if there is any parameter pass by you then deleted. If you are using the parameter in the sub report then pass the value of parameter if still you are getting the error then pass the parameter value as blank.
Re: Sub Reports - missing parameter values
Ok , u have to make link between both reports , means do u have any common field in between , if yes then define links and then it will run successfully.
Re: Sub Reports - missing parameter values
Using an XML file to generate the subreport - works. When i try to bind it dynamically using a dataset it gives the above error.
thanks for help
Re: Sub Reports - missing parameter values
Quote:
Originally Posted by mkapadia
Using an XML file to generate the subreport - works. When i try to bind it dynamically using a dataset it gives the above error.
thanks for help
Which Error :confused:
Re: Sub Reports - missing parameter values
missing parameters error.
I have just started with CR.
Can someone tell me the exact steps to populate a sub report with a TYPED dataset or maybe point me to a link.
I have the following scnario:
1. Main reports - a few parameters + a subreport.
2. there are no links between the main report and the subreport
3. I am using a TYPED dataset for the sub report.
4. by just populating the dataset with data in code and then setting the datasource of the sub report to the dataset gives me an error - missing parameters
I hope I have worded my problem well