GetRow()
- Last UpdatedOct 13, 2022
- 1 minute read
Use the GetRow() method to quickly scroll through the records in the memory table and examine the row values and determine an index to be used for selecting a row of interest. For more information, see SelectRow().
You must provide a zero-based row index.
Syntax
aaDBRow GetRow(
int RowNum)
Parameters
RowNum
A zero-based row index less than the row count in the memory dataset.
Remarks
This method executes synchronously.
The aaDBRow returned object has two members:
-
columnNames: An array filled with column names.
-
columnValues: An array filled with column values corresponding to the row index.
The array items must be converted to strings before you can use them in string manipulation.
After the command object is successfully run you can use the columnValues array to set ArchestrA attributes.
Note: Before setting ArchestrA attributes you may need to cast the individual items from the columnValues array.