Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
Audit.Backup2
Log record.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| Audit | 8.5 | Yes | Yes | Yes | Yes | Yes |
MBS( "Audit.Backup2"; timestamp; TableName; FieldsToCheck ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| timestamp | Pass here the timestamp field you added for auditing to the table. | AuditTimeStamp |
| TableName | The name of the table. With 10.2 optionally as second value the name of the audit log table unless you take the default AuditLog. |
"Firma¶MyAuditLog" |
| FieldsToCheck | A list of field names to check. | "myField" |
Result
Returns OK or error.
Description
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. Than you are sure to have old values for an undo.
See also
Blog Entries
Release notes
- Version 10.4
- Fixed a crash in Audit functions when querying GetFieldID internally. Affects Audit.Backup, Audit.Backup2, Audit.Changed, Audit.Changed2, Audit.Delete and Audit.Delete2 functions.
- Version 8.5
- Added Audit.Backup and Audit.Backup2 to add data to audit log without editing.
Created 27th October 2018, last changed 2nd April 2020
Feedback: Report problem or ask question.
Links
MBS Xojo PDF Plugins