OpenEaxResult OpenEax(OdId tObject, OpenEaxArg tArg)
tObject. Moniker of the object that is an express report.
tArg. Parameter of express report opening.
The OpenEax operation opens an express report and returns context for working with data and metadata.
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:
GetTabSheetData and SetTabSheetData. To work with a data table.
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: