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:
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
13.5
Statistic
FMM
Blog
Log record deletion.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Audit | 2.8 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
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. |
AuditTimeStamp | |
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. |
"Firma¶MyAuditLog" | |
FieldsToIgnore... | A list of field names to ignore. Global fields and those set with Audit.SetIgnoredFieldNames are always ignored. |
"myField" | Optional |
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 1.
Log record on delete:
MBS( "Audit.Delete"; MyTable::AuditTimeStamp; "MyTable" )
Run delete and set a custom field with a special value:
MBS("Audit.Delete"; Audit::AuditTimeStamp; "MyTable"; "CurrentTaskID|" & $$CurrentTaskID)
This function checks for a license.
Created 18th August 2014, last changed 29th September 2023