OpenEax

Syntax

OpenEaxResult OpenEax(OdId tObject, OpenEaxArg tArg)

Parameters

tObject. Moniker of the object that is an express report.

tArg. Parameter of express report opening.

Description

The OpenEax operation opens an express report and returns context for working with data and metadata.

Comments

To execute the operation, in the tObject parameter specify moniker of the object that is an express report, and in the tArg parameter specify opening parameters. The object moniker can be obtained after executing the GetObjects operation. The tArg parameter can contain express report opening mode (view or edit), parameter values that will be sent to parametric data source, and a pattern to get metadata. The pattern specifies the information to be retrieved on executing the operation. If the express report opens for view without getting any metadata, the OpenEaxArg empty structure can be specified as a value of the tArg parameter.

The operation results in the moniker of opened express report instance and metadata if the appropriate pattern was defined in the tArg parameter on executing the operation. Further work with the opened express report is executed using the GetEaxMd anf SetEaxMd operations. To close the opened express report, use the CloseEax operation.

Use the following operations for further work with express report objects:

Example

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

Example name
Opening express report
Opening express report for edit
Opening express report and getting metadata

See also:

Working with Express Reports