Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   8.0   8.1    Statistic  


Turns audit globally on or off.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Audit 7.1 Yes Yes Yes Yes Yes

MBS( "Audit.SetEnabled"; State )


Parameter Description Example value
State The new state.
Pass 1 to enable or 0 to disable.


Returns OK or error.


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.


Enable audit globally:

MBS( "Audit.SetEnabled"; 1 )

Disable audit globally:

MBS( "Audit.SetEnabled"; 0 )

See also

Audit.GetUUIDField   -   Audit.SetIgnoreCalculations

Feedback: Report problem or ask question.

MBS Xojo blog