on 06-05-2008 11:42 PM
in VB6, we could use the RDC's CRAXDRT.Report Export method to prompt the user for the Export Destination and Export FileType.
With .NET, is there any way to prompt the user in the same way?
I have found with the CrystalDecisions.CrystalReports.Engine.ReportDocument object model, you must pre-fill the export type and destination. We want to be able to prompt the user for this information at the time the method is executed. We do not want them to pre-select a type or destination.
I have tried using the CrystalReportViewer Export method, and this will work, however a messagebox with Export Completed executes after the export. The problem with this is that this messagebox is minimized so it appears as if our application is hanging.
Any ideas on:
1. How to prompt the user for export type and destination at method execution
and/or
2. How to set the focus on the messagebox if use the crystalreportviewer export method.
Thank you
Using CRXIR2-SP3 and VB.NET 2005 - not using CR embedded in .NET 2005
You will need to create your own popup/form that prompts for the export options that you want the user to specify and then use their selectons for the export.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can also use the CrystalViewer's ExportReport() method to get the Export window.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I've opened a case with Business Objects, and they've said the same thing.
The RDC and .NET for Crystal are very different. As BO put it, the RDC was a much more 'robust' product than the .NET for Crystal. But, they came to the same conclusion that the Viewer methods have only been tested with the Viewer and not the way we want to use them.
They have submitted my issue as an enhancement request that will make the ReportDocument object model prompt for parameters should no parameter values get passed in via code.
Thanks.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.