Data.DB.TDataSetField.Bind

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: protected
Source:
Data.DB.pas
Data.DB.hpp
Unit: Data.DB
Parent: TDataSetField

Delphi

procedure Bind(Binding: Boolean); override;

C++

virtual void __fastcall Bind(bool Binding);

Description

Refreshes or validates the lookup list.

The Bind method verifies whether the field is a lookup field (fkLookup) and refreshes or validates the lookup list.

If the nested dataset is assigned, fkLookup is set to True, and the nested dataset's state is dsInActive, then the nested dataset is activated; otherwise it is not.

See Also