I tried using await for a series of XdataWebdataset and finally a showmessage to say things have been saved but it did not work out
var
str: string;
recs: Integer;
Info: TResolveResults;
begin
Info := await(TResolveResults, dbTransHd.ApplyUpdates);
Info := await(TResolveResults, dbTranBasic4.ApplyUpdates);
Info := await(TResolveResults, dbTranBiocide.ApplyUpdates);
Showmessage('Data Saved');
end;
Instead of TResolveResults, I also tried using integer. Is this possible to do this ?
It does not compile at all giving a compilation error
At present I have to go to afterapplyupdates event to check if the event is completed before I call the next one.
Can you please suggest a better way