judgeking
asked on
Programatically Export Crystal Report Drilldown or Subreport
I'm using CRXI in ASP.NET to display reports, and also programatically generating PDF and XLS files in the background in case the user wants to save or print a copy. The problem is, when the user is currently in a drill-down view and 'prints', he only wants to print his current view on his page.
How can I tell what he's currently viewing and export only that? Can I 'read' the drop-down in the viewer, can I catch the data on the DrillDown event, something? I can't use the CR built-in export button, it has to be my own code.
How can I tell what he's currently viewing and export only that? Can I 'read' the drop-down in the viewer, can I catch the data on the DrillDown event, something? I can't use the CR built-in export button, it has to be my own code.
ASKER
The generated report with data is saved on the webserver already. I can get the drill-down level from the CR event on the page. So what I'd like to do is open that saved report, drill down into the same details and export that drill down. Does that sound any more plausible?
As far as I know there is no way to just export the drilldown unless you know the page numbers to export.
mlmcc
mlmcc
ASKER
Is it possible to catch the event when the export or print button is clicked on the report viewer?
I don't think so.
mlmcc
mlmcc
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
(no other experts provided any solutions, as usual)
mlmcc