Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Automating Crystal Reports 10 report designer
Message
From
13/07/2006 16:15:17
 
 
To
12/07/2006 23:15:13
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01135899
Message ID:
01136216
Views:
10
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform