Events.Reset
------------

Resets the event store.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Events](component_Events.md) | [6.2](newinversion62.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |

MBS( "Events.Reset" ) ### Parameters

none

### Result

Returns OK or error.

### Description

Resets the event store.  
You can use this method to forget ALL changes made to the event store (all additions, all fetched objects, etc.). It essentially is as if you released the store and then created a new one. It brings it back to its initial state. All objects ever created/fetched, etc. using this store are no longer connected to it and are considered invalid.  
### Release notes

- **Version 14.5**
    - Fixed a problem with [Events.Reset](https://www.mbsplugins.eu/EventsReset.shtml) with not clearing all cached events, so [Events.RemoveEvent](https://www.mbsplugins.eu/EventsRemoveEvent.shtml) function failed.
- **Version 9.1**
    - Fixed problem with [Events.Reset](http://www.mbsplugins.eu/EventsReset.shtml) function.

### Example Databases

- [Mac and iOS/Events/Events Sync](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20and%20iOS/Events/Events%20Sync.shtml#4ScriptAnchor_)

### Blog Entries

- [MBS FileMaker Plugin, version 14.5pr6](https://www.mbsplugins.de/archive/2024-11-01/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 9.1pr7](https://www.mbsplugins.de/archive/2019-03-10/MBS_FileMaker_Plugin_version_9/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 10th March 2016 , last changed 10th March 2016

  
[Events.RequestWriteOnlyAccessToEvents](EventsRequestWriteOnlyAccessToEvents.md) - [Events.SaveCalendar](EventsSaveCalendar.md)

[HTML Version](EventsReset.shtml)