|
FlexCel Studio for VCL/LCL
|
Finds a record given its primary key.
function FindKey(const KeyValues: array of variant): Boolean; virtual;
virtual __fastcall Boolean FindKey(const array of variant KeyValues);
|
Parameters |
Description |
|
const KeyValues: array of variant |
Even when it is an array to keep the definition compatible with TClientDataSet, it must have one and only one value. This value will be matched against the MasterField column and if a record is found, the dataset will be located at that record. |
True if the key was found in the MasterField column, false otherwise.
This value is similar to TClientDataSet.FindKey but it only accepts a single value for the key, that will be matched against the MasterField. It is used internally by TFlxMemTable in master-detail relationships.
|
Copyright (c) 2002-2008 TMS Software. All rights reserved.
|
|
What do you think about this topic? Send feedback!
|