the refresh works fine.

But now. If I open a dataset and call edit,i get the message "Record has been changed by another user".

In the Demo-Project i sent to you , add a rowid in the sql of "Set1" and try editing in the grid. It is not possible.