Hi, I want to save crystal report as PDF when a user view that report.. so on my page load event i created ExportToDisk(ExportFormatType. 1. 2. 3. 4. 5. public virtual void ExportToDisk (ExportFormatType formatType, string fileName);. The above function takes two. ExportToDisk. ExportToDisk is the simplest of export command. It takes 2 parameters. Export format type and File Name.

Author: Tosho Kazill
Country: Ghana
Language: English (Spanish)
Genre: Software
Published (Last): 2 August 2012
Pages: 155
PDF File Size: 7.28 Mb
ePub File Size: 17.90 Mb
ISBN: 630-3-18309-459-4
Downloads: 49378
Price: Free* [*Free Regsitration Required]
Uploader: Mijar

Expirttodisk has the option to print, search, browse through the pages of the report. This parameter is explained below. I do the same thing in. If you continue to use this site we will assume that you are happy with it.

I found this article which is very useful for you. ExportToDisk error More options.

How to Export Crystal Report to PDF in C# and

First I would rcystal that is is the actual export that is causing the timing blowout. But the unable to find good solution. The comment form collects your name, email and content to allow us keep track of the comments placed on the website. Crystal report took too long. This is a community of tens of thousands of software programmers and website crystzl including Wrox book authors and readers. This Exports a report to the response object in the format specified.

  DIN 40900 PDF

Any ideas why this happens? The following Destination are available to the report. Our web site uses cookies to ensure that we give you the best experience on our website.

I request you, can you provide VB6 for me to write in my code for export data from Crystal report to VB6 using Report Document or any other thing? View our list of code downloads. This option gives us the most flexibility when comes to exporting the report. The blowout does not surprise me as CR has had another 15 years of garbage development loaded into it and excel is somewhat more complex than in VB6 days so the export would be more convoluted.

Need to download code?

This has caused a significant increase in the total time as there are about such reports. Not a ReportDocument derived class error. If you have installed 32bit version of crystal report, then go and change platform target using the following steps.


Crystal Reports: ReportDocument.ExportToDisk() takes too long..

Xrystal 5, 2: In these tutorials let us explore how to export Crystal report using the various options available in Crystal Reports. In that project, we had used an employee table to generate the report. It does exxporttodisk do this all the time which is confusing. It works fine up till the load method and assigning parameters.

As per your post, I found that you have VB6 code for export to Excel. PdfFormatOptions has four Properties. I agree to the Privacy Policy.

Below is my code: All the methods are available in the Namespace CrystalDecisions. Run the project, click on Export expogttodisk and you will see that the report is exported to C: Also note that when I re-trigger the application it again works fine for few thousand files and then again fail.

This parameter is explained later in the tutorial.