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.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

Audit.Backup2

Log record.

Component Version macOS Windows Linux Server 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. Then you are sure to have old values for an undo.

See also

Release notes

Blog Entries

Created 27th October 2018, last changed 3th April 2021


Audit.Backup - Audit.Changed

Feedback: Report problem or ask question.




Links
MBS Xojo Chart Plugins

Start Chat