Audit.SetIgnoreUnderscoreFieldNames
-----------------------------------

Sets whether to ignore all field names whose name starts with underscore character.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Audit](component_Audit.md) | [5.3](newinversion53.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "Audit.SetIgnoreUnderscoreFieldNames"; Value ) 

**MBS**( **"Audit.SetIgnoreUnderscoreFieldNames";** /\* Sets whether to ignore all field names whose name starts with underscore character. \*/  
**$Value**) /\* The new setting. Can be 0 or 1.e.g. 1 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Value | The new setting. Can be 0 or 1. | 1 |

### Result

Returns OK or error.

### Description

Sets whether to ignore all field names whose name starts with underscore character.  
If you have internal fields in a table like creation date and you store it in a field starting with \_ in the name, we can automatically ignore those fields.  
  
Must be called before first Audit run to take effect. Otherwise cache my mark a field as eligible for audit before the rule is set.  
  
You may best call this in start script of the solution to setup Audit as needed.  
### Examples

Enable ignoring of underscore field names:

 MBS ( "Audit.SetIgnoreUnderscoreFieldNames"; 1 )  
### See also

- [Audit.GetIgnoreUnderscoreFieldNames](AuditGetIgnoreUnderscoreFieldNames.md)

### Blog Entries

- [Configure Audit functions in MBS Plugin](https://www.mbsplugins.de/archive/2022-06-10/Configure_Audit_functions_in_M/monkeybreadsoftware_blog_filemaker)
- [Audit with MBS FileMaker Plugin](https://www.mbsplugins.de/archive/2017-01-07/Audit_with_MBS_FileMaker_Plugi/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 3th September 2015 , last changed 3th June 2021

  
[Audit.SetIgnoreSummaryFields](AuditSetIgnoreSummaryFields.md) - [Audit.SetIgnoredFieldNames](AuditSetIgnoredFieldNames.md)

[HTML Version](AuditSetIgnoreUnderscoreFieldNames.shtml)