Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Automating Crystal Reports 10 report designer
Message
De
13/07/2006 16:15:17
 
 
À
12/07/2006 23:15:13
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:
01136216
Vues:
11
Thanks Craig - worked great. Now about the 2048 parameter - do you know of any public documentation that specifies the parameters and their meanings? I'm guessing that I'll be able to specify parameters to specify Crystal Enterprise logon information (or possibly pass a CE Logon object [if there is such a thing] as a parameter to the SaveAs method.)

>
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform