Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Automating Crystal Reports 10 report designer
Message
De
12/07/2006 23:15:13
 
 
À
12/07/2006 19:42:56
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01135899
Message ID:
01135920
Vues:
11
This message has been marked as the solution to the initial question of the thread.
oCR = CREATEOBJECT("CrystalRuntime.Application")
oRpt = oCR.OpenReport("C:\CRRpt\MyReport.Rpt")
oRpt.SaveAs("C:\CRRpt.NewReport.Rpt", 2048)
>I have Crystal Reports 10 installed and would like to automate the Report Designer to open an RPT file and SaveAs to a folder in Crystal Enterprise. There many registered class ids for Crystal. But which one can be used to open a report and saveas?
>
>For example:
>o=CREATEOBJECT('CrystalReports10.FileOpenDialog.1')
>o.open(0,'Open Dialog','rpt','*.rpt'...etc.)
>
>opens the dialog for users to find and open a report. what is the class id for the report designer?
>
>Thanks,
>Alan
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform