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.AddRecurrenceRule
Adds a recurrence rule.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| Events | 6.2 | Yes | No | No | No | Yes |
Parameters
| Parameter | Description | Example |
|---|---|---|
| EKCalendarItem | The reference to the calendar item: an event or reminder. | $item |
| EKRecurrenceRule | The reference to the recurrence rule. | $RecurrenceRule |
Result
Returns OK or error.
Description
Adds a recurrence rule.Examples
Create a recurrence rule with end date for a yearly event:
Set Variable [ $rule ; Value: MBS( "Events.RecurrenceRule.NewWithFrequency"; "Yearly";"1" ) ]
Set Variable [ $end ; Value: MBS( "Events.RecurrenceEnd.NewWithEndDate"; Date ( 12 ; 30 ; 2025 ) ) ]
Set Variable [ $r ; Value: MBS( "Events.RecurrenceRule.SetRecurrenceEnd"; $rule; $end ) ]
Set Variable [ $r ; Value: MBS( "Events.Item.AddRecurrenceRule"; $item; $rule ) ]
See also
- Events.Item.HasRecurrenceRules
- Events.Item.RecurrenceRules
- Events.Item.RemoveRecurrenceRule
- Events.RecurrenceEnd.NewWithEndDate
- Events.RecurrenceRule.NewWithFrequency
- Events.RecurrenceRule.SetRecurrenceEnd
Created 10th March 2016, last changed 1st November 2020
Events.Item.AddAlarm - Events.Item.Alarms
Feedback: Report problem or ask question.
Links
MBS FileMaker tutorial videos