Using ApplyUpdates when dataset not in edit or insert mode?

Hi,

I just noticed what I think is a bug. If RemoteUpdateOptions includes ruoOnPost then calling ApplyUpdates on a DAMemDataTable whose State is not in dsEditModes causes “Dataset not in edit or insert mode”.

Presumably the ApplyUpdates call is blindly calling datatable.post without checking if it’s in edit or not.

Cheers

In ruoOnPost mode, you shouldn’t call ApplyUpdates manually at all, because it is done automatically.

Ok thanks.

I still think that it shouldn’t raise such a basic exception though.

Cheers