Limited Export Options
Printed From: Crystal Reports Book
Category: Crystal Reports for Visual Studio 2005 and Newer
Forum Name: Writing Code
Forum Discription: .NET programming API, report integration
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=11781
Printed Date: 02 May 2024 at 12:33pm
Topic: Limited Export Options
Posted By: kkarimi
Subject: Limited Export Options
Date Posted: 03 Dec 2010 at 8:17am
Why is it that I'm only permitted to use a fraction of the export types that are obviously available to me? Take note of the following code:
Dim crxApp As new CRAXDDRT.Application()
Dim crxRpt As CRAXDDRT.Report
crxRpt = crxApp.OpenReport("D:\MyReport\HANSCOM-PHReBills.rpt")
With crxRpt.ExportOptions
'.FormatType = CRExportFormatType.crEFTText
.FormatType = CRExportFormatType.crEFTRichText
.DiskFileName = "D:\MyReport\Exports\MyExport.rtf"
End With
crxRpt.Export(False)
It works if I use crEFTRichText but I get the following error if I use crEFTText.
If I alter crxRpt.Export(False) to crxRpt.Export() the system will prompt me with export options and my suspicions are confirmed that my options are very limited. But I can tell from the code in the application that I've inherited, it has not always been this way. This used to export using crEFTText (as CSV). Now I can't do that. Please advise.
Note: I'm using craxddrt.dll version 10.5.0.1943 on Visual Studios 2008.
|
Replies:
Posted By: thatKaran
Date Posted: 15 Jan 2014 at 11:04pm
Did you get a solution? I'm having the same issue right now.
|
|