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.Item.SetCalendar
Sets the calendar for the event.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| Events | 6.2 | Yes | No | No | No | Yes |
MBS( "Events.Item.SetCalendar"; EKCalendarItem; EKCalendar ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| EKCalendarItem | The reference to the calendar item: an event or reminder. | $item |
| EKCalendar | The id of the calendar. | $calendar |
Result
Returns OK or error.
Description
Sets the calendar for the event.You can pass calendar by ID or by name.
Examples
Set calendar:
Set Variable [$r; Value:MBS( "Events.Item.SetCalendar"; $reminder; $calendar )]
See also
- Calendar.Item.SetCalendar
- Events.Item.GetCalendar
- Events.NewEvent
- Events.NewReminder
- Events.RemoveCalendar
- Events.SaveEvent
- Events.SaveReminder
Example Databases
- Mac and iOS/Events/Events Create Event
- Mac and iOS/Events/Events Create Reminder
- Mac and iOS/Events/Events Sync
Blog Entries
FileMaker Magazin
Release notes
- Version 8.0
- Changed Events.Item.SetCalendar to pick reminder calendar by name if you edit reminder and not an events calendar.
Created 10th March 2016, last changed 13th March 2016
Events.Item.RemoveRecurrenceRule - Events.Item.SetLocation
Feedback: Report problem or ask question.
Links
MBS Xojo Plugins