Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Log record.

Component Version macOS Windows Linux Server iOS SDK
Audit 8.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "Audit.Backup2"; timestamp; TableName; FieldsToCheck... { ; ExtraFields... } )   More


Parameter Description Example Flags
timestamp Pass here the timestamp field you added for auditing to the table.
This field is passed here to trigger the calculation, but the value is not used. Must be a timestamp.
TableName The name of the table.
Or the table occurrence if needed.

With 10.2 optionally as second value the name of the audit log table unless you take the default AuditLog.
FieldsToCheck... A list of field names to check. "myField"
ExtraFields... Custom fields to set.
Pass in field name followed by "|" character and a value.
Field type can be text or number.
"ScriptName|" & $ScriptName Optional


Returns OK or error.


Log record.
Same as Audit.Changed2, but uses Backup for the action field.
You can call this function before loading a record to make sure all data from the record are logged. Then you are sure to have old values for an undo.

This function takes variable number of parameters. Pass as much parameters as needed separated by the semicolon in FileMaker.
Please repeat FieldsToCheck and ExtraFields parameters as often as you need.

See also

Release notes

Blog Entries

This function checks for a license.

Created 27th October 2018, last changed 12nd May 2023

Audit.Backup - Audit.BaseTableNameForID