Delphi Database, Delphi Components from ComponentAce
Products Download Order Contact us
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.
        © 2003 - 2024 ComponentAce  | .net zip component | barcode for .net | delphi zip component | delphi database Apr 20, 2024