Symptom
- Crystal Report document with an embedded BMP or TIF OLE object image
- Exporting to MS Word RTF format
- The file size of the RTF file is abnormally big
- In some occurrences random errors may be thrown or Crystal Reports may be terminated unexpectedly
Reproducing the Issue
- Open Crystal Reports 2008 designer
- Create a new document
- Insert a BMP file
- Resize the object to 5x5 cm
- Export the report to Word format (RTF)
- Check the size of the RTF document: it is abnormally big
Cause
- Crystal Reports saves the OLE object (the BMP or TIF image) in the RTF in its original format
- the result will be a file size which is equal or greater than:
OLE object filesize x number of occurrences in the report
examples:
- if the OLE image is 350 KB and the report has 20 pages, the resulting size of the RTF file will be at least 350x20 = 7 MB
- if the OLE image is 11MB and the report has 50 pages, the resulting size of the RTF file will be at least 11x50 = 550 MB
Resolution
- Convert the OLE image to a lighter format (JPG or GIF)
- Resize the OLE image to the dimensions it will display within the Crystal Report
Keywords
KBA , BI-RA-CR , Crystal Reports designer or Business View Manager , Problem
Product
Crystal Reports 2008 V1