TsgcWSPClient_Dataset › Events › OnAfterDeleteRecord
Fires after a delete received from the server has been applied to the local Dataset.
property OnAfterDeleteRecord: TsgcWSAfterRecordEvent;
// TsgcWSAfterRecordEvent = procedure(Connection: TsgcWSConnection; const Dataset: TDataset) of object
—
Raised once the component has deleted the matching row from the attached Dataset in response to a server-side delete. Use it to refresh the UI or log the removal. The Dataset parameter refers to the same instance assigned to the DataSet property.
procedure TForm1.oProtocolAfterDeleteRecord(Connection: TsgcWSConnection;
const Dataset: TDataset);
begin
Memo1.Lines.Add('record deleted');
end;