RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomDataSetAdapter.SilentLocate Method

Positions the associated dataset on a specified record.

Pascal
function SilentLocate(AParams: TLocateParamsList; ARecurse: Boolean): Boolean;
C++
__fastcall Boolean SilentLocate(TLocateParamsList AParams, Boolean ARecurse);

SilentLocate tries to position this adapter's dataset on the record identified by a specified set of key field values. 

Params is a collection of TLocateParams objects, where each TLocateParams object lists the key fields and their values for a single dataset adapter. 

ARecurse indicates whether SilentLocate should position the dataset of just this adapter, or to position the datasets of all adapters linked to this one in a master/detail relationship as well. 

SilentLocate returns true if it successfully positions all requested datasets on the specified records. SilentLocate returns false if it was unable to position one or more datasets on the specified record. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!