XLCubed who's calling

If you have multiple reports calling a master report like this :




















You can XL3WebReportLink to jump to the master report. Do you know that you can use this also to see which report is calling the master report and use this info to jump back.

Add the following (WEB) parameter to your master report:
  • CallingReportName
  • CallingReportAdress
  • CallingReportWorksheet

From your linking report create a link using XL3WebReportLink including these parameters:

=XL3WebReportLink(
"Master Report.xml";"<<Master Report Name>>";0;
"CallingReportName";"<<Linking Report Namer>>";
"CallingReportAdress";"Linking Report.xml";
"CallingReportWorksheet";"Sheet1";
"XL3ActiveWorksheetname";"Sheet1";"closecopies";TRUE)

On your master report you now can make a back link like:

=XL3WebReportLink(
<<CallingReportAdress>>;
<<CallingReportName>>;0;"closecopies";TRUE;
"XL3ActiveWorksheetName";CallingReportWorksheet)

(Of course you can add extra parameters to give back to the linking report

Till Next Time

Comments

Popular posts from this blog

XLCubed Show Hide Columns with button

XLCubed XL3ExecuteSQLProc error

XLCubed to which Cube or Database is a report connecting?