TMedTable.SetRange TMedTable

procedure SetRange(const StartValues, EndValues: array of const);

Description

Use SetRange to specify a range and apply it to the dataset with with one method call.

StartValues should contain values determining the first record in the range. EndValues should contain values determining the last record in the range.

If the number of values specified is fewer than number of fields in the current index, the remaining values are assumed to be Nil.

SetRange moves the cursor pointer to the first record in the range. Range can be set only for indexed fields.

See TTable.SetRange for more details.