Delphi Database, Delphi Components from ComponentAce
Products Download Order Contact us

Searches for a specified field in the dataset.

function FindField(const FieldName: string): TField;

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.
        © 2003 - 2020 ComponentAce  | .net zip component | barcode for .net | delphi zip component | delphi database Aug 06, 2020