Solved

Exporting reports to Excel programmatically

Posted on 2004-04-14
5
1,062 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

867 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

21 Experts available now in Live!

Get 1:1 Help Now