TsgcWSPClient_DatasetEvents › OnAfterUpdateRecord

OnAfterUpdateRecord Event

Fires after an update received from the server has been applied to the local Dataset.

Syntax

property OnAfterUpdateRecord: TsgcWSAfterRecordEvent;
// TsgcWSAfterRecordEvent = procedure(Connection: TsgcWSConnection; const Dataset: TDataset) of object

Default Value

Remarks

Raised once the component has located the matching row and posted the server-side changes to the attached Dataset. Use it to refresh the UI or log the edit. The Dataset parameter refers to the same instance assigned to the DataSet property.

Example

procedure TForm1.oProtocolAfterUpdateRecord(Connection: TsgcWSConnection;
  const Dataset: TDataset);
begin
  Memo1.Lines.Add('record updated');
end;

Back to Events