Audit.SetIgnoreRepetitions
--------------------------

Whether to ignore repetitions.

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

MBS( "Audit.SetIgnoreRepetitions"; Value ) 

**MBS**( **"Audit.SetIgnoreRepetitions";** /\* Whether to ignore repetitions. \*/  
**$Value**) /\* The new setting.  
Pass 1 to ignore them or 0 to include them.e.g. 1 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Value | The new setting.   Pass 1 to ignore them or 0 to include them. | 1 |

### Result

Returns OK or error.

### Description

Whether to ignore repetitions.  
If set to 1, we ignore the repetition fields at all.  
We always ignore global repetition fields for performance reasons.  
  
If repetitions are checked, we query the maximum count defined for the field. Then we query count() to get the number of values. Next we loop from 1 to maximum to find all the values. We may loop 10 fields more, but otherwise exit when we found all values to save CPU time if you define maximum of 5000 and only use first 5 values.  
  
You may best call this in start script of the solution to setup Audit as needed.  
### See also

- [Audit.GetIgnoreRepetitions](AuditGetIgnoreRepetitions.md)
- [Audit.SetIgnoreCalculations](AuditSetIgnoreCalculations.md)

### Release notes

- **Version 10.3**
    - Added [Audit.GetIgnoreRepetitions](https://www.mbsplugins.eu/AuditGetIgnoreRepetitions.shtml) and [Audit.SetIgnoreRepetitions](https://www.mbsplugins.eu/AuditSetIgnoreRepetitions.shtml) functions.

### Blog Entries

- [Configure Audit functions in MBS Plugin](https://www.mbsplugins.de/archive/2022-06-10/Configure_Audit_functions_in_M/monkeybreadsoftware_blog_filemaker)
- [What is new in the MBS FileMaker Plugin Version 10.3](https://www.mbsplugins.de/archive/2020-07-31/What_is_new_in_the_MBS_FileMak/monkeybreadsoftware_blog_filemaker)
- [Neues MBS FileMaker Plugin 10.3 - Über 6200 Funktionen in einem Plugin](https://www.mbsplugins.de/archive/2020-07-21/Neues_MBS_FileMaker_Plugin_103/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin 10.3 - More than 6200 Functions In One Plugin](https://www.mbsplugins.de/archive/2020-07-21/MBS_FileMaker_Plugin_103_-_Mor/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 10.3pr4](https://www.mbsplugins.de/archive/2020-06-16/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 14th June 2020 , last changed 3th June 2021

  
[Audit.SetIgnoreEmptyFieldsForCreate](AuditSetIgnoreEmptyFieldsForCreate.md) - [Audit.SetIgnoreSummaryFields](AuditSetIgnoreSummaryFields.md)

[HTML Version](AuditSetIgnoreRepetitions.shtml)