Using the Production Reporting Viewer ActiveX Control

*  To use the Production Reporting Viewer ActiveX Control:

  1. Instantiate an object for the Production Reporting Viewer ActiveX Control.

    You can do this in your development environment visually with application painters or forms, or by editing the application source code.

    See the documentation for your development environment for information on how to instantiate ActiveX Controls. For instance, in Visual Basic, place the Production Reporting Viewer ActiveX Control onto a form generating an object in the form that you can reference, such as frmMyForm.Production ReportingViewer.

  2. Call the SizeTo() method to make the Production Reporting Viewer ActiveX Control occupy the whole window or change whenever the containing window (or form) changes size.

    In Visual Basic, for example, you would use the Form.Size subroutine.

  3. Call the Open method to open a SPF file; then, call other methods to manipulate how to display a report.

  4. Call the Close method to close the report.