Sign in Join
FPDoc Onlineexperiment

TDataSetFirst.UpdateTarget procedure

Member of TDataSetFirstpublicIn unit DBActns

Enables or disables the action based on the state of the dataset in the target.

Declaration

pascal
procedure UpdateTarget(Target: TObject); override

Description

UpdateTarget is an overridden method which enables or disables the database action based on the state of the dataset in the Target object. UpdateTarget calls the GetDataSet method to retrieve the dataset in the Target datasource. The action is Enabled when the dataset is active and not already positioned at its beginning (or first record). This ensures that the action cannot be performed for a dataset that has not been opened, or does not require repositioning.

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.