?
Solved

Exporting reports to Excel programmatically

Posted on 2004-04-14
5
Medium Priority
?
1,069 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
5 Comments
 
LVL 101

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 101

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 101

Accepted Solution

by:
mlmcc earned 300 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 101

Expert Comment

by:mlmcc
ID: 10847391
Glad I could help

mlmcc
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

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…
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

762 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