Hello,
I have been working on this for 3 days solid now, and have gotten absolutely nowhere. I am about ready to throw myself out the window!
I am trying to export a Crystal report to PDF from within Access, but I cannot get past this damn message about having a Missing or Out of Date Export DLL.
This is the code I am using to export to PDF:
And then I call it with this:
But every time I get this error message. I have trawled through Google and the Crystal support site, but everything I find doesn't seem to help, I am pretty sure I have all the DLLs I need.
I attach a screenshot of the references I have ticked in Access VBA.
Any help would be MUCH appreciated.
Thank you.
I have been working on this for 3 days solid now, and have gotten absolutely nowhere. I am about ready to throw myself out the window!

I am trying to export a Crystal report to PDF from within Access, but I cannot get past this damn message about having a Missing or Out of Date Export DLL.
This is the code I am using to export to PDF:
Code:
Dim appl As New CRAXDRT.Application
Dim rep As CRAXDRT.Report
Sub ExportToPDF(ReportFile As String)
Set rep = appl.OpenReport("G:\Invoicing\Reports\" & ReportFile & ".rpt", 1)
rep.ExportOptions.DiskFileName = "C:\DB\Invoicing\Invoice.pdf"
rep.ExportOptions.DestinationType = crEDTDiskFile
rep.ExportOptions.FormatType = crEFTPortableDocFormat
rep.Export (False)
End Sub
And then I call it with this:
Code:
ExportToPDF "1-Client"
But every time I get this error message. I have trawled through Google and the Crystal support site, but everything I find doesn't seem to help, I am pretty sure I have all the DLLs I need.
I attach a screenshot of the references I have ticked in Access VBA.
Any help would be MUCH appreciated.
Thank you.