Hello team,
I need your assistant in passing a database field called {engine.rptno} to the subreport select expert from the main report. I tried to use shared variable in the main report.
I created a formula in the main report
In the sub report, I create a formula ("Shared_report_number") and I placed it in the report header. It has the code:
I clicked on Select Expert and then I chose the field {engine.rptno} is equal to {@Shared_report_number}, it produces and
error that : crystal reports the formula cannot be used because it must be evaluated later
Can you please help me in this.
I need your assistant in passing a database field called {engine.rptno} to the subreport select expert from the main report. I tried to use shared variable in the main report.
I created a formula in the main report
Code:
shared numbervar report_number := {engine.rptno};
report_number;
In the sub report, I create a formula ("Shared_report_number") and I placed it in the report header. It has the code:
Code:
shared numbervar report_number;
report_number;
I clicked on Select Expert and then I chose the field {engine.rptno} is equal to {@Shared_report_number}, it produces and
error that : crystal reports the formula cannot be used because it must be evaluated later
Can you please help me in this.