bzAuditLog is an audit logging module for Claris FileMaker 2023+.
- Requires Claris FileMaker 2023 or higher.
- Copy or Import the
AuditLogandSchemaLogtables into your solution - Copy the
OnWindowTransactionfield into every table you want to audit. Tip: To avoid the field being commented out, ensure that you change therecordPrimaryKeyproperty to match the primary key field of the target table. If the table doesn't have a primary key, set therecordPrimaryKeyproperty to a blank string - Copy or import the
Auditscript into the script workspace - In
File > File Options > Script Triggersset theOnWindowTransactionscript trigger to run theAuditscript
That's it. Changes will now be logged for all tables. Record data will be logged for all tables with the OnWindowTransaction field.
- To entirely exclude tables from being logged, add them to the list in the
Ifstep on line 38 - To change the fields that get logged for a table, edit the
ExecuteSQLquery in theOnWindowTransactionfield definition for that table