FireDAC.Comp.DataSet.TFDDataSet.KeyExclusive

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: property
Visibility: public
Source:
FireDAC.Comp.DataSet.pas
FireDAC.Comp.DataSet.hpp
Unit: FireDAC.Comp.DataSet
Parent: TFDDataSet

Delphi

property KeyExclusive: Boolean read GetKeyExclusive write SetKeyExclusive;

C++

__property bool KeyExclusive = {read=GetKeyExclusive, write=SetKeyExclusive, nodefault};

Description

Controls the exclusion of the upper and lower boundaries of a range.

Use KeyExclusive to get or set the flag that controls whether a range should include or exclude the records that exactly match the starting and ending range values. By default, KeyExclusive is False, meaning that exact matching values are included. 

To restrict a range to those records that are greater than the specified starting value and less than the specified ending value, set KeyExclusive to True. Setting KeyExclusive is possible only in dsSetKeyMode

The property has meaning only for non-expressional indexes.

See Also