Navigation:  DataServer Classes > DaoServer Class >

DaoServer:Refresh() Method

Previous pageReturn to chapter overviewNext page

Purpose

Reread the current record from the database, discarding any changes that have been made.

 

Parameters

None

 

Returns

TRUE if successful; otherwise, FALSE.

 

Description

Sends a NotifyRecordChange message, if successful.

This command discards all changes to the current record.  It is useful as a way of implementing Undo in an application.  However, it cannot roll back changes that have been committed with the DaoServer:Commit().  Also, note that it applies only to the current record; the data server and the drivers do not buffer changes made to multiple records.

 

Class

DaoServer        

 

See Also

DaoRecordSet:CancelUpdate()