Data.DB.TFields.GetFieldNames
[–] Properties | |
---|---|
Type: procedure function
| |
Visibility: public | |
Source: Data.DB.pas Data.DB.hpp
| |
Unit: Data.DB | |
Parent: TFields |
Delphi
procedure GetFieldNames(List: TStrings);
C++
void __fastcall GetFieldNames(System::Classes::TStrings* List);
Description
Retrieves a list of names for all fields in a fields object.
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.