Mac OS X
Components Crossplatform Mac & Win Server Client Old Guides Examples
New in version: 8.0 8.1 8.2 8.3 8.4 8.5 9.0 9.1 9.2 9.3 Statistic
Saves changes to an event permanently.
|Component||Version||macOS||Windows||Server||FileMaker Cloud||FileMaker iOS SDK|
|EKEvent||The reference to the event.||$event|
|Span||The span to use.
This event, or this and future events.
Pass "This" or "Future" here.
Whether to commit.
Pass 1 to commit or 0 to not commit.
Default is 1.
Pass 0 to batch changes together and commit with Events.Commit later.
Returns OK or error.
DescriptionSaves changes to an event permanently.
This function attempts to save the event to the calendar database. It returns OK if successful and error otherwise. It's possible for this function to return failed. This occurs if the event wasn't dirty and didn't need saving.
After an event is successfully saved, it is also put into sync with the database, meaning that all fields you did not change will be updated to the latest values. If you save the event, but it was deleted by a different store/process, you will effectively recreate the event as a new event.
Created 10th March 2016, last changed 24th March 2016
Feedback: Report problem or ask question.
MBS Xojo Plugins