SAP Knowledge Base Article - Public

1206873 - Saved data discarded when exporting a to Crystal Reports (.RPT) file format in a Visual Studio .NET application

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:

  1. In the Crystal Reports designer, click Options from the File menu.
  2. In the Options dialog box, click the "Reporting" tab.
  3. Clear the "Discard Saved Data on Open" check box.
  4. Save the report.
  5. 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