Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Automate crystal reports in Vfp
Message
De
18/10/2005 14:35:03
 
 
À
18/10/2005 13:52:53
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Crystal Reports
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01059965
Message ID:
01060000
Vues:
11
Mike,

I got this when i run this..

OLE IDispatch exception code 0 from Crystal Reports ActiveX Designer: Error in File ??:
Missing or out-of-date export DLL...



>Try this:
>
>
>#DEFINE crEDTDiskFile 1
>#DEFINE crEFTPortableDocFormat 31
>#DEFINE crPortrait 1
>#DEFINE crLandscape 2
>
>loCrystal=CreateObject("CrystalRuntime.Application")
>loReport=loCrystal.OpenReport("REPORTPATH.rpt",1)
>
>loReport.ExportOptions.DestinationType = crEDTDiskFile loReport.ExportOptions.FormatType = crEFTPortableDocFormat
>loReport.ExportOptions.DiskFileName = "OUTPUTFILEPATH.PDF"
>loReport.Export(.F.)
>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform