TwebClientDataset OnCalc-Ev Dataset EOF

Hello!


I have the following problem.
I use the TWebClientConnection and TWebClientDataSet components to display data of an XData server in a WebDBGrid.
I would like to use the event "OnCalc" to set calculated fields. When OnCalc fires on the first record of the dataset, the passed dataset is set to EOF.
So it is not possible to set calculated fields in the first row of the dataset. Only from the second data record are the data transferred correctly.
Am I making a mistake or is this a bug?

Can you please provide a project reproducing the issue? Also, if your server is XData, why don't you use TXDataWebDataset and TXDataWebConnection components?