| **Navigation:**  [[abc library reference.htm|ABC Library Reference]] > DbAuditManager > DbAuditManager Methods >====== OnChange (update audit log file after a record change) {{c6h0009.jpg|C6H0009.jpg}} ====== | [[kill shut down dbauditmanger object .htm|{{btn_prev_n.gif|Previous page}}]][[abc library reference.htm|{{btn_home_n.gif|Return to chapter overview}}]][[ondelete update audit log file when a record is deleted .htm|{{btn_next_n.gif|Next page}}]] | | || **OnChange(**//filename//**, **//file//**), VIRTUAL** {{blk2blue.jpg|blk2blue.jpg}} | **OnChange** | Initiates an update to the audit log file after a Change to the file. | | //filename// | A string constant, variable, EQUATE, or expression containing the label of the file that is to be audited. | | //file// | The label of the FILE being auditied. | The **OnChange **method initiates the update to the audit log file after a Change action. **Implementation:** The OnChange method sets the Action property and calls the AppendLog method. This method is called from the DbChangeManager.CheckChanges method. **See Also:**     [[checkchanges check record for changes .htm|DbChangeManager.CheckChanges]]