User Tools

Site Tools


onfieldchange_virtual_method_for_each_field_change_.htm
Navigation:  ABC Library Reference > DbAuditManager > DbAuditManager Methods >====== OnFieldChange (virtual method for each field change) C6H0009.jpg ====== Previous pageReturn to chapter overviewNext page

OnFieldChange(left, right, fieldname, filename), VIRTUAL

blk2blue.jpg

OnFieldChange Manage field changes.
left The label of the “left” field of the pair that contains the original value of the field being updated. The field may be any data type, but may not be an array.
right The label of the “right” field of the pair that contains the new value of the field being updated. The field may be any data type, but may not be an array.
fieldname A string constant, variable, EQUATE, or expression containing the label of the field that is to be audited.
filename A string constant, variable, EQUATE, or expression containing the label of the file that is audited.

The OnFieldChange method is called for each field in the record that has changed. The before and after values are passed to this method.

Implementation:

OnFieldChange is a VIRTUAL method so that other base class methods can directly call the OnFieldChange virtual method in a derived class. This lets you easily implement your own custom version of this method.

See Also:     DbChangeManager.CheckPair

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