RAD Studio VCL Reference
|
Retrieves a list of names for all fields in a fields object.
procedure GetFieldNames(List: TStrings); overload; procedure GetFieldNames(List: TWideStrings); overload;
__fastcall GetFieldNames(TStrings List); __fastcall GetFieldNames(TWideStrings List);
Call GetFieldNames to fill a list with the field names for all fields in the fields object. List is a TStrings descendant created and maintained by the application.
Retrieving a list of field names is especially useful for applications that work with datasets whose field objects are created dynamically at runtime. By retrieving a list of field names, the application can be restricted to working only with fields that exist at runtime.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|