Purpose
Iterator operator.
Syntax
BOOL operator()(void);
Return Value
Returns TRUE if successfully moved to the next row, FALSE if end of the table is reached.
Description
The iterator operator reads the next row and stores it as the current row. Returns FALSE if the end of table is reached, in which case the iterator is reset back to before the beginning of the table.
Note that the member functions SetCurrentRow, RemoveRow, AppendEmptyRow and InsertEmptyRow also affects that current row setting.

Assuming ATableParam is a CRfcTableParam object, the following code iterates from the beginning of the table to the end, setting each row’s column 0 to some integer value:
int i=0; while( ATableParam()) ATableParam.Field(0) = i++;
|
Related Information
SetCurrentRow RemoveRow AppendEmptyRow InsertEmptyRow Field (Constant Table, by Index/Column Name Field (Constant Table, by Index/Column Number) Cell (by Row/Column Name) Cell (by Row/Column Number)