BeforeChange (update audit log file before file change)


Top  Previous  Next

 

BeforeChange(filename, BFP), VIRTUAL

BeforeChange

Update the Audit log file before any file update

filename

A string constant, variable, EQUATE, or expression containing the label of the file that is to be audited.

BFP

The label of a BufferedPairsClass object. See BufferedPairsClass for more information.

The BeforeChange method saves the values of the record before a change is made. These values are used for comparison after the record is saved back to disk.

Implementation:

The BeforeChange method sets the Action property and saves the current field values to the log file. This method is called from the DbChangeManager.CheckChanges method.

See Also:     BufferedPairsClass, DbChangeManager.CheckChanges