Solved

Exporting reports to Excel programmatically

Posted on 2004-04-14
5
1,064 Views
Last Modified: 2007-12-19
I’m doing programmatically export of reports in different formats using VC++.
In crystal 8.5 export options that are shown when exporting using report viewer match one to one CRExportFormatType enumeration.   But in crystal 9.0 there are less options then in enumeration. I’m especially interested which export option I should set in order to export in “MS Excel 97-2000” and “MS Excel 97-2000 (Data only)”.
My guess is that the first one corresponding to new enumeration value crEFTExcel97, but what about second one?
0
Comment
Question by:_Greg64
  • 4
5 Comments
 
LVL 100

Expert Comment

by:mlmcc
ID: 10826123
When using CR9 have you included the CR9 runtime libraries or are you still using the CR8.5 libraries?

There is a format change in the report file so you will need to use the CR9 libraries for the CR9 reports.

mlmcc
0
 

Author Comment

by:_Greg64
ID: 10827934
To mlmcc:
Thanks for replay,
I do use CR9 runtime libraries, but craxdrt9.tlh still has the same enumeration. So the question is: when I call PutFormatType method which takes CRExportFormatType enumeration as parameter what value from this enumeration I should pass in order to export in mentioned above excel formats.
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 10829615
The Data only option is new to CR9.  I don't have CR9 so I can't try to figure it out.

I'll check the CR site to see if there is anything useful

mlmcc
0
 
LVL 100

Accepted Solution

by:
mlmcc earned 100 total points
ID: 10838912
According to the web site the DATA ONLY option is not supported by the RDC therefore you won't have an enumeration value for it.

Look at this
http://support.businessobjects.com/library/kbase/articles/c2012329.asp

mlmcc
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 10847391
Glad I could help

mlmcc
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now