RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomAdapter.FindNamedField Method

Finds an adapter field with a matching variable name.

Pascal
function FindNamedField(const AName: string): TComponent;
C++
__fastcall TComponent * FindNamedField(const AnsiString AName);

The AName parameter contains the name used when referencing a field with server-side script. This name may not be the same as the component name. For example, server-side script accesses fields in a TDataSetAdapter with using the dataset field name rather than the adapter field component name. 

 

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