Retrieves a specified set of field objects into a list.
procedure GetFieldList(List: TList; const FieldNames: string);
Description
Call GetFieldList to copy a specified set of field objects into a list object created and maintained by the application.
List is the TList object where the field objects should be copied. FieldNames is a string containing the names of the fields to copy. Each field name in the string must be separated from other field names with a semicolon. GetFieldList builds a list that contains only the field objects for which it finds a matching name in the dataset's list of field objects.
Note:
Applications do not normally call GetFieldList to copy field objects. Field objects are directly accessible through the dataset itself. In some cases, however, it may be useful to work with a copy of a field object or its data instead of working on the actual object in the dataset.
|
|