on 10-27-2010 5:03 AM
According to the Crystal Reports .NET SDK (see 2nd link below), it looks like you should use the ExportOptions class. But set the ExportFormatType to ExportFormatType.Text.
Sample snippit from the CR .NET SDK...
Private Sub ExportToDisk(ByVal myReportDocument As ReportDocument, ByVal fileName As String)
Dim myExportOpts As New ExportOptions
Dim diskOpts As DiskFileDestinationOptions
diskOpts = ExportOptions.CreateDiskFileDestinationOu2026
myExportOpts.ExportFormatType = _
ExportFormatType.RichText
myExportOpts.ExportDestinationType = _
ExportDestinationType.DiskFile
diskOpts.DiskFileName = fileName
myExportOpts.ExportDestinationOptions = diskOpts
myReportDocument.Export(myExportOpts)
End Sub
Source(s):
Save these to your desktop before viewing. Clear the "Always ask before opening this file" check box in the Open File dialog box. If you try to view thru browser you will get errors.
http://help.sap.com/businessobject/product_guides/boexir31/en/crsdk_net_dg_12_en.chm
http://help.sap.com/businessobject/product_guides/boexir31/en/crsdk_net_apiRef_12_en.chm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.