EPUB | CHM | PDF

TMySQLDataSet.Properties.RefreshDelete

Top Previous Next

Specifies whether a dataset should delete a record locally when a database record is not found at refreshing.

Syntax:

property RefreshDelete : Boolean default True;

Description:

Use the RefreshDelete property to allow a dataset to delete a record from a local storage, when a corresponding database record is not found at RefreshRecord call. The default value is True. The most probable reason why the record is not found - it is deleted. There may be other reasons as well. To delete the record, set this property to True. To leave the record and raise an exception, set this property to False. For additional details, see the description of the RefreshRecord method.