RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBaseDataSetAdapterField.ImplSetFieldName Method

Provides the underlying implementation for the SetFieldName method.

Pascal
procedure ImplSetFieldName(const Value: string); override;
C++
virtual __fastcall ImplSetFieldName(const AnsiString Value);

The SetFieldName method calls ImplSetFieldName to assign the name by which server-side script can refer to this adapter field. ImplSetFieldName assigns the supplied name as the value of the DataSetField property (binding this adapter field to a dataset field), and removes all illegal characters from the supplied name. Thus, the name for this field in server-side script may differ from the field-name only in omitting any illegal characters. 

Value is the name of the field this adapter represents, and forms the basis of the resulting adapter field name. 

 

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