Writing Code
 Crystal Reports Forum : Crystal Reports for Visual Studio 2005 and Newer : Writing Code
Message Icon Topic: Limited Export Options Post Reply Post New Topic
Author Message
kkarimi
Newbie
Newbie


Joined: 03 Dec 2010
Online Status: Offline
Posts: 1
Quote kkarimi Replybullet Topic: Limited Export Options
    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.
IP IP Logged
thatKaran
Newbie
Newbie


Joined: 13 Jan 2014
Online Status: Offline
Posts: 1
Quote thatKaran Replybullet Posted: 15 Jan 2014 at 11:04pm
Did you get a solution? I'm having the same issue right now.
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.016 seconds.