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
Events.Commit
Commits pending changes to the database.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| Events | 6.2 | Yes | No | No | No | Yes |
MBS( "Events.Commit" ) More
Parameters
none
Result
Returns OK or error.
Description
Commits pending changes to the database.If you use saveCalendar/saveEvent/removeCalendar/removeEvent, etc. and you pass 0 to their commit parameter, you are batching changes for a later commit. This method does that commit. This allows you to save the database only once for many additions or changes. If you pass 1 to methods' commit parameter, then you don't need to call this method.
This method will return OK as long as nothing went awry, even if nothing was actually committed. Else it returns an error.
See also
- Events.RemoveCalendar
- Events.RemoveEvent
- Events.RemoveReminder
- Events.SaveCalendar
- Events.SaveEvent
- Events.SaveReminder
Created 10th March 2016, last changed 10th March 2016
Events.ClearNotification - Events.CompletedReminders
Feedback: Report problem or ask question.
Links
MBS Xojo Plugins