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