• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 264
  • Last Modified:

exporting a crystal reports programatically

I want to programatically export a crystal report (version 7) into a rich text format to a file using the crystal report control. The logic on a high level should be as follows:

assign all contro properties
cr control.action=1
cr.export to a file
close the report

Can some one tell me how to do that using VB6 and the crystal report control, and using a rich text format.
Thanks


0
fmichail
Asked:
fmichail
1 Solution
 
mlmccCommented:
Check this link
OCX sample application in VB - Exporting
http://support.businessobjects.com/communityCS/FilesAndUpdates/SCR_VB_OCX_Export.exe.asp

If you have any plans to upgrade from CR7 to later versions of Crystal, the OCX method is no longer supported.  It was replaced in CR8 with the RDC.  You can use this paper to help in migrating from the OCX to the RDC
http://support.businessobjects.com/communityCS/TechnicalPapers/scr8-ocxtordc.pdf.asp

mlmcc
0
 
fmichailAuthor Commented:
Dear mlmcc
Thank you very much
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now