This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to read a parameter value in Sub reports

Hi,

I have a custom report. It will get user input From and Todate to generate the report with in that dates. I used a parameters to get the date.

In the summery Page, i can able to refer the Parameter ( DateFrom and DateTo). If i refer the parameter variable in the sub reports ( Pending Attestation , Completed Attestation) , it return the default date value. It does not get the data entered by the user when generating the report. lt looks like the it is not the global value which can be used in sub reports.

I want to show the From and To data user entered in the Parameter when generating the Report in Sub Reports.

How can i achieve this. Can some one help me on this?

Parents
  • In your sample, the select value for the parameter DateFrom is displayed on the sub report.

    Just the parameter DateTo is displaying the default value because you haven't specified a value. Again the parameter is displayed the same on the main and the sub report what is different to your original problem description.

    Next question would be, how you open the report. I assume you create a custom form to do that. It would be helpful if you post the configuration XML for that report form.

     

Reply
  • In your sample, the select value for the parameter DateFrom is displayed on the sub report.

    Just the parameter DateTo is displaying the default value because you haven't specified a value. Again the parameter is displayed the same on the main and the sub report what is different to your original problem description.

    Next question would be, how you open the report. I assume you create a custom form to do that. It would be helpful if you post the configuration XML for that report form.

     

Children
No Data