Click or drag to resize

DataWindow.UndoAll Method

X#
Undo all changes made in this data window since the last record movement or Commit() operation.

Namespace:  VO
Assembly:  VOGUIClasses (in VOGUIClasses.dll) Version: 2.21
Syntax
 VIRTUAL METHOD UndoAll() AS USUAL
Request Example View Source

Return Value

Type: Usual
Remarks
After a long series of changes to this record, the DataWindow:UndoAll() method restores the record to the values it had when it was originally accessed. However, the method does not provide for restoring changes made to several records; once the server has moved off a record, the changes are permanent as far as DataWindow:UndoAll() is concerned. If the data window is in "form" view, this applies to changes to the contents of the edit controls in the data window; if in "browse" view, this applies to the changes made to a row in the data browser.
See Also