I have two reports that Point to the same Sub Report.
On The Sub Report I have a text that says : Return to Main Page.
But I don't know How to return to respective main report since the sub report is the same.
Main Report FileName : Owner
Main Report : Application
SubReport : Details.
So, Under Details Report ,text says "Return to Main Page".
What should I have in Actions so that it points to respective Main Report.
P.S : Main Reports dont have any parameters.
How about adding a parameter to the subreport which is the name of the "Main Page" report.
In the action in the main reports, the value of the new parameter is the name of the relevant main report.
In the action in the subreport, use an expression in the "specify a report" box. For the expression, use the value from the new parameter