Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Automate crystal reports in Vfp
Message
From
18/10/2005 14:35:03
 
 
To
18/10/2005 13:52:53
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
General information
Forum:
Visual FoxPro
Category:
Crystal Reports
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01059965
Message ID:
01060000
Views:
10
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.)
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform