_Greg64
asked on
Exporting reports to Excel programmatically
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?
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?
ASKER
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.
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.
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
I'll check the CR site to see if there is anything useful
mlmcc
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Glad I could help
mlmcc
mlmcc
There is a format change in the report file so you will need to use the CR9 libraries for the CR9 reports.
mlmcc