SQLSelect.Refresh Method (Typed) | |
Refresh the current row in the buffer, discarding any changes that have been made.
Namespace:
XSharp.VO.SDK
Assembly:
XSharp.VOSQLClasses (in XSharp.VOSQLClasses.dll) Version: 2.21
Syntax VIRTUAL METHOD Refresh() AS LOGIC
public virtual bool Refresh()
Request Example
View SourceReturn Value
Type:
Logic
TRUE if successful; otherwise, FALSE.
Remarks
Sends a NotifyRecordChange message, if successful.
This command discards all changes to the current row. It is useful as a way of implementing Undo in an application. However, it cannot roll back changes that have been committed with the SQLSelect:Commit(). Also, note that it applies only to the current row; the data server and the drivers do not buffer changes made to multiple rows.
See Also