TDADataSetOptions.RemoveOnRefresh Property

Used for a dataset to locally remove a record that can not be found on the server.




property RemoveOnRefresh: boolean default True;


When the RefreshRecord procedure can't find necessary record on the server and RemoveOnRefresh is set to True, dataset removes the record locally. Usually RefreshRecord can't find necessary record when someone else dropped the record or changed the key value of it.

This option makes sense only if the StrictUpdate option is set to False. If the StrictUpdate option is True, error will be generated regardless of the RemoveOnRefresh option value.

© 1997-2023 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback