I want to pass shared variable in main report to a subreport’s crosstab formula field ? How do I do this ?
If I declare a shared variable inside main report and try to access it in the subreport’s crosstab with ‘whilereadingrecords’ it just won’t get anything.
I made a mock report and came up with this solution:
MySharedVar. Enter this code:MySharedVar2. Enter this code:MySharedVar2formula in your crosstab as normal.