OpenPrxResult OpenPrx(OdId tObject, OpenPrxArg tArg)
tObject. Moniker of the object that is a regular report.
tArg. Parameters of opening the regular report.
The OpenPrx operation opens a regular report and returns context for working with its data and metadata.
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 extracting 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:
Various methods of using this operation are given in the following examples:
Example name |
See also: