|
-
Dec 20th, 2006, 07:51 AM
#1
Thread Starter
Junior Member
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!
-
Dec 20th, 2006, 11:11 AM
#2
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.
-
Dec 20th, 2006, 11:41 PM
#3
Thread Starter
Junior Member
Re: Sub Reports - missing parameter values
i deleted the parameters from the subreport
-
Dec 26th, 2006, 05:27 AM
#4
Thread Starter
Junior Member
Re: Sub Reports - missing parameter values
-
Dec 26th, 2006, 05:42 AM
#5
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.
-
Dec 28th, 2006, 06:12 AM
#6
Addicted Member
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.
Thanks and Regards,
Muhammad Abbas
-
Jan 1st, 2007, 11:57 PM
#7
Thread Starter
Junior Member
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
-
Jan 2nd, 2007, 01:55 AM
#8
Re: Sub Reports - missing parameter values
 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
-
Jan 4th, 2007, 10:51 AM
#9
Thread Starter
Junior Member
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|