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.RemoveEvent
Removes an event from the calendar store.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| Events | 6.2 | Yes | No | No | No | Yes |
MBS( "Events.RemoveEvent"; EKEvent; Span { ; Commit } ) More
Parameters
| Parameter | Description | Example | Flags |
|---|---|---|---|
| EKEvent | The reference to the event. | $event | |
| Span | The span to use. This event, or this and future events. Pass "This" or "Future" here. |
"This" | |
| Commit | 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. |
1 | Optional |
Result
Returns OK or error.
Description
Removes an event from the calendar store.This function attempts to remove the event from 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 ever added and didn't need removing.
After an event is removed, it is no longer tied to this calendar store, and all data in the event is cleared except for the eventIdentifier.
Examples
Remove event:
Set Variable [$r; Value:MBS("Events.RemoveEvent"; CalendarTest::ItemUID; "this"; 1)]
See also
Example Databases
FileMaker Magazin
Created 10th March 2016, last changed 24th March 2016
Events.RemoveCalendar - Events.RemoveReminder
Feedback: Report problem or ask question.
Links
MBS Xojo Chart Plugins