You obtain a Report object by specifying a Crystal Reports (.RPT) file and opening it with the OpenReport method of the Application object:
Dim report As CRPEAuto.Report
Set report = app.OpenReport("c:\reports\xtreme.rpt")
The OpenReport method has only one parameter, the path of the report file you want to access. By setting a report object according to the return value of this method, you can proceed to manipulate, print, preview, or export the report using other objects, methods, and properties available in the Crystal Report Engine Automation Server's object library.
| Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |