MoveBy(Value: Integer): Integer;
Value. Number of records, by which the cursor is moved.
The MoveBy method moves the cursor in the data source and returns the number of records, by which the cursor has moved.
If the Value parameter exceeds 0, the cursor moves forward, if it is under 0, the cursor moves backward. On reaching the end or beginning of the data source the cursor stops. In this case the IUiDataSet.Bof/IUiDataSet.Eof properties are set to True, and the MoveBy method returns the value that is less than in the Value parameter.
See also: