Question

I have a few reports which my customer wants to print through the Preview option. The problem is, that these reports need the CurrReport.Preview function for logging data. But you cannot use this function if you want to print the report.

Is there a possibility to get into the trigger, after the print button in the page preview has been clicked?

Edit to specify: With logging data I mean first the real logging about the prints and secondly options like archive data and other stuff like this.

CurrReport.Preview: http://msdn.microsoft.com/en-us/library/dd301398.aspx

Was it helpful?

Solution

One option would be to call the Report again using REPORT.Run(Report::"Name Of Report",...) and apply the filters that were used on the initial report.

If it's an intense report it may not be practical (because it has to be run twice), but there are parameters to make the report print automatically;

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top