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)
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)