OpenWithParam(Values: Variant): IMetabaseObjectInstance;
OpenWithParam(Values: Object): Prognoz.Platform.Interop.Metabase.IMetabaseObjectInstance;
Values. Value of the parameter, which is used on opening the object.
The OpenWithParam method opens the object and returns its data.
It is relevant to use this method if the object has one parameter.
Executing the example requires that the repository contains a query with the Query_1 identifier. This query was created with one parameter.
Add links to the Db and Metabase system assemblies.
The query with the specified value of parameter is opened after executing this example. Values of the first data column received while execution of the query are displayed in the development environment console.
See also: