We are upgrading our product's report generation application from Crystal Reports 9 to
Crystal Reports for VS2015, and incidentally rewriting our ActiveX based CRViewer app into a C# CrystalReportsViewer (which will incidentally solve some 32-bit VB6 email issues too). I'm almost done with the conversion but I'm stumped on our email report to recipients custom action.
In the CR9 viewer, we wired certain events (GroupSection_Format, PageSection_Format, and HeaderSection_Format) and kept track of the GroupHeader1 value to manually keep track of what pages went to which customers, so we could then export specified pages per customer and email a customer a bill, contract, letter, or whatever.
In the CRforVS2015 CrystalReportsViewer, I see no way to iterate through the report as its generating (can't seem to wire events for BeforeFormatPage or FormatSection) or to iterate through the report after its generated. How am I supposed to do this then? (Generate a report for a duration and send report PDF to pertinent client through email.) Many of our clients depend on this process. It save a lot of time and reduces human errors by automating email generation from stored data.