Accuracer: The First And Only Cross-Platform BDE Replacement
Client-Server Single-File Embedded Database with SQL for Delphi / C++Builder / Kylix


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 Accuracer: Client-server Database Single-file Database Delphi Database Embedded Databas