Parameter Value in main report is not passed to a parameter in the subreport -


I need your help, while defining the value of the parameter in the main report to the passport, I defined a parameter in the main report Whom {? ReportNumber} and its type is the number and it is stable

In the main report selection specialist, I added the code below:

  {engine.reportnumber} = {? ReportNumber}  

This will take the report number from the table and specify this parameter. Every time I run a report, the value will vary based on the data received.

In SubReport, I renamed the same name? ReportNumber} and it's type number and it's stable.

I've added a subreport link that is {? ReportNumber} and below I {? ReportNumber} parameter which is in sub-data

However my issue is that when I run the report, the report is asking me to enter the sub-report parameter , Even though I have added it and given a value for it as I have stated in the steps above.

I'm using Crystal Reports 2011

Even tried to use the shared variable in the main report:

 < Code> shared numbervar report_number: = {engine. Rptno}; report number;  

In the sub-report, I am creating a formula ("Shared_report_number") and I have placed it in the report header. Contains the code:

shared number report_number; report number;

I clicked the selection specialist and then I chose the field {engine.rptno} {@Shared_report_number}, it generates an error: the formula can not be used because It should be later assessed

Please help me pass the value of the parameters from the main report to the sub-report.

This signal indicates that your parameter is not properly linked.

When you link the parameters on the left, the main report parameter shows 1. SP parameter is of 2. Custom report parameter is

When you link, note that you have joined the custom report with the report name.

Please check the link below, in the UI image of the third image, you need to select the sub-report parameter at the bottom right. Then check and then link.

In your case, I think your main report parameter is linked to yourself. Not with the subreport parameter.

Carefully see this link during mapping.


Comments

Popular posts from this blog

import - Python ImportError: No module named wmi -

Editing Python Class in Shell and SQLAlchemy -

lua - HowTo create a fuel bar -