[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'DB' (#fcl)

# TMasterDataLink.OnMasterChange

Called whenever the master dataset data changes

## Declaration

Source position: db.pas line 1876

`public property TMasterDataLink.OnMasterChange : TNotifyEvent read FOnMasterChange write FOnMasterChange;`

## Description

OnMasterChange is called whenever the field values in the master dataset changes, i.e. when it becomes active, or when the current record changes. If the TMasterDataLink.Fields list is empty, TMasterDataLink.OnMasterDisable is called instead.

## See also

TMasterDataLink.OnMasterDisable |  | Called whenever the master dataset is disabled

Documentation generated on: May 14 2021