Hi All,
I have a requirement where I'm creating a pack of reports (7 reports) which needs to be called from a main report. so when the user runs the main report, the 7 reports should show one after the another in the same report window (or for that matter if they export to pdf it should show consecutive reports getting printed one after another followed by page break).
Approach #1
I spent some time on this: Initially, I went with Sub Reports option i.e. in the main report, I added the subreport component and then pointed to Report 1, Report 2 and so on.. This works well and renders ok in visual studio and report browser, however when called from AX it gives me error. Looks like the DP class which I have written for the main report is having an issue.
Approach #2
I was looking at the multiple designs options in report for e.g. in standard ax, we have vendageingReport which has 4 designs. The challenge here is each of my report has its own data structure, so for the timebeing I'm planning to make a common data source or dataset which has all the fields combined and populate it through my main report DP Class.
I would like to know the forum's thoughts on the above approach and the goal being I want all the reports to be printed one after the another from one main report, which would be the best way to go. Any suggestions or recommendations welcome.
Thanks heaps.
Cheers,Dilip