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.1   9.2   9.3   9.4   9.5   10.0   10.1   10.2   10.3   10.4    Statistic  

Audit.Backup

Log record.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Audit 8.5 Yes Yes Yes Yes Yes
MBS( "Audit.Backup"; timestamp; TableName { ; FieldsToIgnore } )   More

Parameters

Parameter Description Example value
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"
FieldsToIgnore Optional
A list of field names to ignore. Global fields and those set with Audit.SetIgnoredFieldNames are always ignored.
"myField"

Result

Returns OK or error.

Description

Log record.
Same as Audit.Changed, 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

Created 27th October 2018, last changed 2nd April 2020


Archive.Verify   -   Audit.Backup2

Feedback: Report problem or ask question.




Links
MBS Xojo PDF Plugins