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.SetEnabled
Turns audit globally on or off.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| Audit | 7.1 | Yes | Yes | Yes | Yes | Yes |
MBS( "Audit.SetEnabled"; State ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| State | The new state. Pass 1 to enable or 0 to disable. |
1 |
Result
Returns OK or error.
Description
Turns audit globally on or off.Default is enabled.
You can turn off for batch imports.
The Audit.Changed, Audit.Changed2, Audit.Delete and Audit.Delete2 functions return 1 if disabled, so any boolean operation using the result still works.
Examples
Enable audit globally:
MBS( "Audit.SetEnabled"; 1 )
Disable audit globally:
MBS( "Audit.SetEnabled"; 0 )
See also
Blog Entries
Release notes
- Version 7.1
- Added Audit.GetEnabled and Audit.SetEnabled.
Created 24th January 2017, last changed 25th January 2017
Audit.GetUUIDField - Audit.SetIgnoreCalculations
Feedback: Report problem or ask question.
Links
MBS Xojo PDF Plugins