Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

EXport to PDF/XLS/DOC Code needed!!!!

Status
Not open for further replies.

Sakheb

Programmer
May 22, 2003
11
IN
I have a crystal report (8.5) I need to be exported to other formats. I just need some sample code in VB6 that will export a crystal document to Microsoft Word, Excel or even PDF format.

Any code will help.

thanks,
Sak
 
What object model? RDC?

Do you have "Crystal Developer"?

Cheers,
- Ido


CUT, Visual CUT, and DataLink Viewer:
view, e-mail, export, burst, distribute, and schedule Crystal Reports.
 
The report needs to be converted when a VB program is executed, which will take this crystal report and then convert it into a word document/PDF. Everything is done on the back-end. So I would need some sample VB code.

here's what I have so far:

Dim CrAppl As craxdrt.Application
Dim Crrep As craxdrt.report

set crrep = crappl.openreport "c:\report.rpt"


this will create the objects & open the report. Now I need to export this report.

thanks,
Sak
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top