FlexCel Studio for VCL/LCL
ContentsIndex
PreviousUpNext
TFlxMemTable.Duplicates Property

Determines how new records are inserted into the table, depending on the value of the field specified in the IndexFieldNames property.

Pascal
property Duplicates: TDuplicates;
C++
__property TDuplicates Duplicates;

There are three possible values for this property:

Value 
Description 
dupIgnore 
If a record with the same value in the index field already exists, the new record will not be inserted. 
dupAccept 
This is the normal mode. You can insert as many records as you want with the same value for the index. 
dupError 
An exception will be raised if you try to insert a duplicated record. 
Copyright (c) 2002-2008 TMS Software. All rights reserved.
What do you think about this topic? Send feedback!