Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
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.
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement