Umra.GetVariableDataTable
long GetVariableDataTable([in] BSTR * VariableName, [in] IUnknown * pDataTable)
Argument
|
Type
|
Description
|
VariableName
|
In
|
The name of the variable that holds the table data to be retrieved.
|
pDataTable
|
In/out
|
The retrieved table data. The argument must be specified as one of the other UMRA COM object types: UmraDataTable. This COM object can then be used to access the data of the table.
|
The interface method retrieves the data of a table variable. When an UMRA Form project generates a variable with table data, the variable and table data is returned in the list with variables maintained by the UMRA COM object. To access the table data, a special UMRA COM object is used: UmraDataTable. An instance of such an COM object must be passed as one of the arguments of this method. On success, the table data is copied from the variable into the passed COM object. The interface methods of the UmraDataTable object can then be used to access the table data.
On success, the method returns zero. If the variable is not found in the list with variables, or when the variable does not contains table data, a non zero value is returned.
|