Vcl.DBLookup.TDBLookupList.InitFields
Delphi
procedure InitFields(ShowError: Boolean);
C++
void __fastcall InitFields(bool ShowError);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.DbLookup.pas Vcl.DBLookup.hpp |
Vcl.DBLookup | TDBLookupList |
Description
Searches the data source for an existing field with a specific value.
The InitFields method searches the DataSource for an existing field whose value is given through the LookupField property. If the ShowError parameter is True and a field was not found, an exception is raised.