RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TLocateParams Class

TLocateParams is a collection of the key fields and their corresponding values that can be used to locate a record of a dataset adapter.

Pascal
TLocateParams = class(TObject);
C++
class TLocateParams : public TObject;

TLocateParams is a collection of the key fields belonging to a single dataset adapter, along with their values. Each fieldname/value pair is stored as a string of the form Name=Value. TLocateParams provides access to these name/value pairs using the Items property, or to the constituent names and values using the ParamNames and ParamValues properties. 

Use the AdapterName property to identify the dataset adapter whose key fields and values are in the collection. You can add new key field/value pairs by calling the AddParam method. 

 

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