Data Connectivity
 Crystal Reports Forum : Crystal Reports for Visual Studio 2005 and Newer : Data Connectivity
Message Icon Topic: Export to CSV not working Post Reply Post New Topic
Author Message
kensk
Newbie
Newbie
Avatar

Joined: 08 Aug 2007
Online Status: Offline
Posts: 5
Quote kensk Replybullet Topic: Export to CSV not working
    Posted: 22 Aug 2007 at 11:00am
Hello,
 
When I do a Print Preview, and click the Export button on the CR viewer control, the export list does not show the CSV item.  Just .rpt, .pdf, .xls, .doc, and .rtf are shown.
 
Moreover, when I try to export from my code, I get an error dialog which says "Invalid export DLL or export format".
 
The line of code I'm using to export is:

reportDocument.ExportToDisk(ExportFormatType.CharacterSeparatedValues, saveFileDialog.FileName);

I hear talk about export to CSV, but I haven't found any code samples on how to implement this functionality.  The CR XI .NET SDK documentation says that export to CSV is possible, but doesn't show any API sample code.
 
Export to Excel, PDF, Word, and rtf all work fine from within my code.
 
I've upgraded to XI Release 2.  The Crystal assembly references in my project show version numbers 11.5.3700 and 11.5.3300.  Yet it seems I don't have the latest since there is no CSV item in the Crystal Report Viewer export list and from what I'm reading on this forum, there should be.
 
Any input would be greatly appreciated.
 
Still a newbie,
Ken
IP IP Logged
BrianBischof
Admin Group
Admin Group
Avatar

Joined: 09 Nov 2006
Online Status: Offline
Posts: 2458
Quote BrianBischof Replybullet Posted: 22 Aug 2007 at 3:14pm
The free version of VS.NET doesn't have the CSV export options. You have to upgrade to get that capability.
Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>
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.017 seconds.