EPUB | CHM | PDF

TPSQLDataset.Properties.AutoRefresh

Top Previous Next

Specifies whether server-generated field values are refetched automatically.

Syntax:

property AutoRefresh: Boolean;

Description:

When AutoRefresh is False (the default), values that the server creates for autoincrement fields and fields with default values when a record is posted are not automatically refetched by the dataset. Instead, the application must call the dataset's Refresh method to update these field values. When AutoRefresh is True, these field values are automatically refreshed without an explicit call to the Refresh method.