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??? 1

Status
Not open for further replies.

Sakheb

Programmer
May 22, 2003
11
IN
Can somebody please help me with some VB code. I need to open up a crystal report and export it in PDF format. Does anybody have any code for that?

this is what I have so far:

Dim CRApp As New CRAXDDRT.Application
Dim CRRpt As New CRAXDDRT.Report
CRApp.OpenReport "c:\abc.rpt"
CRRpt.Export

But it doesn't work. It prompts me for the export type and just writes a blank PDF. I need to automate this process(without any user interference)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top