print access report into pdf files using VB6

C

cdolphin88

Hi,

I'm trying to convert the access I have written in access into a pdf, I
used this code below, but somehow it gave me an error user defined type
not defined, so I guess it's because I need to add a reference, but
which one? Can someone tell me?

Cheers!

Claudia


Dim objPDF As New PDFClass
With objPDF
.ReportName = "RptCollection"
.OutputFile = "c:\testing.pdf"
.PDFEngine = 1
.PrintImage
End With
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top