Results 1 to 9 of 9

Thread: Sub Reports - missing parameter values

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Oct 2005
    Posts
    21

    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!

  2. #2
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758

    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.

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Oct 2005
    Posts
    21

    Re: Sub Reports - missing parameter values

    i deleted the parameters from the subreport

  4. #4

    Thread Starter
    Junior Member
    Join Date
    Oct 2005
    Posts
    21

    Re: Sub Reports - missing parameter values

    bump

  5. #5
    Just Married shakti5385's Avatar
    Join Date
    Mar 2006
    Location
    Udaipur,Rajasthan(INDIA)
    Posts
    3,747

    Thumbs up 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.

  6. #6
    Addicted Member mabbas110's Avatar
    Join Date
    Oct 2005
    Location
    Karachi , Pakistan
    Posts
    172

    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

  7. #7

    Thread Starter
    Junior Member
    Join Date
    Oct 2005
    Posts
    21

    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

  8. #8
    Just Married shakti5385's Avatar
    Join Date
    Mar 2006
    Location
    Udaipur,Rajasthan(INDIA)
    Posts
    3,747

    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

  9. #9

    Thread Starter
    Junior Member
    Join Date
    Oct 2005
    Posts
    21

    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
  •  



Click Here to Expand Forum to Full Width