Skip to Content
0
Former Member
Apr 20, 2008 at 05:21 AM

Exporting to Microsoft Word - Editable (RTF)

49 Views

Post Author: Wildchops

CA Forum: Crystal Reports

Hi Guys,I have been writing an interface between a Progress 10.1B database and Crystal Reports XI Release 2. Through the code I have written I have been able to export directly to various format types using the CRExportFormatType found in the Technical Reference documentation. However I cannot find anywhere how to export directly to Microsoft Word - Editable (RTF). This FormatType is available when I view the report through the Active X control I use to preview reports, however I cannot export directly to it. I have tried using the following CRExportFormatTypes, crEFTExactRichText 35 and crEFTWordForWindows 14, but they appear with text boxes in the document, which is not what I want. I have also tried other types (crEFTPaginatedText 10, crEFTText 8, crEFTTabSeparatedText 9, crEFTTabSeparatedValues 6) but they just seem to export unformated text. I have been unable to get the functionality I get when I export to Microsoft Word - Editable (RTF) through the Active X viewer.What CRExportFormatType should I be using or do I need to set something else in ExportOptions to be able to export to Microsoft Word - Editable (RTF)?RegardsLuke