OpenPrx

Syntax

OpenPrxResult OpenPrx(OdId tObject, OpenPrxArg tArg)

Parameters

tObject. Moniker of the object that is a regular report.

tArg. Parameters of opening the regular report.

Description

The OpenPrx operation opens a regular report and returns context for working with its data and metadata.

Comments

To execute the operation, in the tObject parameter specify moniker of the object that is a regular report, and in the tArg parameter specify parameters of opening. The object moniker can be obtained on executing the GetObjects operation. The tArg parameter may contain mode of report opening (view or edit), values of the parameters to be sent to parametric data sources, and the pattern for getting metadata. The pattern specifies the information to be retrieved on executing the operation.

The operation results in the opened regular report instance moniker, and also the metadata if an appropriate pattern was defined in the tArg parameter on executing the operation. Use the GetPrxMd and SetPrxMd operations to further work with the opened report. To close the opened regular report instance, use the ClosePrx operation.

To work with tables on regular report sheets, use the GetTabSheetData and SetTabSheetData operations. To work with the objects that may be located on the report sheets, use the following operations:

Example

Various methods of using the operation are given in the following examples:

Example name
Opening Regular Report
Opening Regular Report for Edit

See also:

Working with Regular Reports