Symptom
When exporting a report in a Visual Studio .NET application, all formats work as expected, with the exception of Crystal Reports format. Crystal Reports format has no data. Only the report design is exported. This behavior is the same if exported from the Crystal viewer, or using export code.
Cause
This behavior occurs because the "Discard Saved Data on Open" check
box is selected.
Resolution
Here are the steps to resolve this behavior:
-
In the Crystal Reports designer, click Options from the File menu.
-
In the Options dialog box, click the "Reporting" tab.
-
Clear the "Discard Saved Data on Open" check box.
-
Save the report.
-
Run your .NET application and export the report.
Keywords
Export, Crystal Reports, data, missing, saved, visual studio net dot , 9503894 , KBA , BI-RA-CR , Crystal Reports designer or Business View Manager , How To
Product
SAP Crystal Reports 10.0 ; SAP Crystal Reports XI ; SAP Crystal Reports XI R2