User Tools

Site Tools


savehistory_save_history_fields_for_later_restoration_.htm
Navigation:  ABC Library Reference > WindowManager > WindowManager Methods >====== SaveHistory (save history fields for later restoration) C6H0009.jpg ====== Previous pageReturn to chapter overviewNext page

SaveHistory, PROTECTED

blk2blue.jpg

The SaveHistory method saves a copy of the fields named by the AddHistoryField method for later restoration by the RestoreField method.

Implementation:

The AddHistoryFile method names the file and record buffers from which fields are saved and restored. The AddHistoryField method associates specific fields from the history file with their corresponding WINDOW controls. The SaveHistory method saves a copy of the history fields. The RestoreField method restores the contents of a specific control.

Example:

WindowManager.TakeCompleted PROCEDURE

CODE

SELF.SaveHistory

CASE SELF.Request

OF InsertRecord

 DO InsertAction

OF ChangeRecord

 DO ChangeAction

OF DeleteRecord

 DO DeleteAction

END

See Also:     RestoreField AddHistoryField, AddHistoryFile, HistoryKey,

savehistory_save_history_fields_for_later_restoration_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1