TsgcWSPServer_Dataset › Methods › BroadcastRecord
Broadcasts the current record of the server dataset to every connected client.
procedure BroadcastRecord;
Serialises the record currently pointed at by the assigned DataSet and sends it on the dataset update channel so every subscribed client raises OnAfterUpdateRecord (or OnAfterNewRecord) and mirrors the change. Use this method to push a row manually when NotifyUpdates is False, or after computing values in memory without posting through the dataset events.
FDQuery1.Edit;
FDQuery1.FieldByName('Price').AsCurrency := 99.90;
FDQuery1.Post;
oProtocol.BroadcastRecord;