RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomAdapter.FindNamedVariable Method

Finds a field or action with a matching variable name.

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

FindNamedVariable calls FindNamedField and FindNamedAction. The AName parameter contains the name used when referencing an action or field with server-side script. This name may not be the same as the component name. For example, server-side script references fields in a TDataSetAdapter using the dataset field name rather than the adapter field component name. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!