Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Crystal Reports DLLS
Message
De
17/05/2001 10:27:14
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Crystal Reports DLLS
Divers
Thread ID:
00508294
Message ID:
00508294
Vues:
50
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
Fil
Voir

Click here to load this message in the networking platform