SAP Knowledge Base Article - Public

1199940 - Unable to preview the entire OLE Object document inserted on a report in Crystal Reports

Symptom

  • Only the first page of the document displays
  • Microsoft Word document, Microsoft PowerPoint presentation, PDF document,.. that contains multiple pages, only displays the first page.
  • When inserting an OLE Object that contains multiple pages in Crystal Reports, it doesn't displays the entire document.

Environment

  • SAP Crystal Reports 2013
  • SAP Crystal Reports 2016
  • SAP Crystal Reports 2020

Reproducing the Issue

  1. In Crystal Reports, create a report off any data source.
  2. Insert an OLE Object that contains several pages on the report. ( Microsoft Office document, PDF document,... )
  3. When viewing the report, it only display the first page of the document inserted.

Cause

  • An OLE Object is a technology that allows linking and embedding part of a document in another application.
  • It is limited to display the first page of a document, if the embedded document contains multiple pages.
  • This is the default behavior of a Microsoft OLE Object.  It is not a limitation of Crystal Reports, but of the OLE Object technology. If you were to insert the same OLE Object in another application, it will also display the first page only.

Resolution

  • To workaround the OLE Object technology limitation:
    1. Save each page of the document in a separate file.
    2. Insert each page as an OLE Object on the report.

Keywords

CR , KBA , BI-RA-CR , Crystal Reports designer or Business View Manager , Problem

Product

SAP Crystal Reports 2013 ; SAP Crystal Reports 2016 ; SAP Crystal Reports 2020