Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Automate crystal reports in Vfp
Message
De
18/10/2005 13:52:53
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
 
 
À
18/10/2005 13:34:52
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:
01059979
Vues:
11
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.)
Very fitting: http://xkcd.com/386/
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform