General information
Category:
Coding, syntax & commands
Title:
Crystal Reports DLLS
I am getting error # 1733 (The class definition specified in a CREATEOBJECT( ) function cannot be located) when trying to export a crystal report to pdf format. The report is not being viewed on the screen... just a direct export to pdf. I copied the following dlls to the users machine:
craxddrt.dll
craxdrt.dll
crviewer.dll
crxf_pdf.dll
u2ddisk.dll
crdesignerctrl.dll
The following code is being executed.
PUBLIC loCrTables
loCr = CREATEOBJECT("CrystalRuntime.Application")
loCrRpt = loCr.OpenReport("&curdrive\buydown\invoice.rpt")
loCrData = loCrRpt.DATABASE
loCrTables = loCrData.TABLES
loCrTables.ITEM(1).Location = "&curdrive\buydown\current.dbf"
loCrTables.ITEM(1).Location = "&curdrive\buydown\summary_pdf.dbf"
loCrTables.ITEM(1).Location = "&curdrive\buydown\venture_pdf.dbf"
loCrTables.ITEM(1).Location = "\\bbhome\tobacco\buydown\company.dbf"
loExportOptions = loCrRpt.ExportOptions
loExportOptions.DestinationType = 1 &&crEDTDiskFile
loExportOptions.FormatType = 31 &&crEFTPortableDocFormat
loExportOptions.DiskFileName = invoice_loc
loCrRpt.EXPORT(.F.)
What must I do? I reviewed the crystal help file on which dlls to install.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only