TXDataWebDataSet changecount

Hi i need to known when there are changes to commit to DB with TXDataWebDataSet.ApplyUpdates (and close form too in AfterApplyUpdates) otherwise i must only close the form with ModalResult:=mrClose;

if thare aren't changes to commit AfterApplyUpdates don't fire and i can't close the form.

Thx

I need this to, or something similar like a property UpdatesPending: boolean to when there are changes that need Applying.

You can use GetPendingUpdates method of the dataset.

I missed that. I found GetRecordUpdates and was looking for a way to access that.

Thanks

1 Like

This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.