EasyTable: Single-File Embedded BDE Replacement
Database for Delphi and C++Builder


TDataSet.FindField
TDataSet
Top 

Searches for a specified field in the dataset.

function FindField(const FieldName: string): TField;

Description
Call FindField to determine if the specified field component exists in a dataset. FieldName is the name of the field for which to search. If FindField finds a field with a matching name, it returns the TField component for the specified field. Otherwise it returns nil.

FindField is the same as the FieldByName method, except that it returns nil rather than raising an exception when the field is not found.


© AidAim Software EasyTable: Easytable Single-file Embedded Database Bde Replacement Delphi C\+\+builde