Bde.DBTables.TTable.SetRangeStart

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: public
Source:
Bde.DBTables.pas
Bde.DBTables.hpp
Unit: Bde.DBTables
Parent: TTable

Delphi

procedure SetRangeStart;

C++

void __fastcall SetRangeStart();

Description

Indicates that subsequent assignments to field values specify the start of the range of rows to include in the dataset.

Call SetRangeStart to put the dataset into dsSetKey state, erase any previous start range values, and set them to NULL. Subsequent field assignments to the FieldValues property indicate the actual set of starting values for a range.

After assigning start-range values to FieldValues, call ApplyRange to activate the modified range.

Note: With Paradox or dBASE tables, SetRangeStart works only on indexed fields. With SQL databases, SetRangeStart also works with any columns specified in the IndexFieldNames property.

See Also