Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   7.6    Statistic  

Events.RecurrenceEnd.NewWithOccurrenceCount

Creates a recurrence end with a maximum occurrence count.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Events 6.2 Yes No Yes, macOS only No No

MBS( "Events.RecurrenceEnd.NewWithOccurrenceCount"; Count )

Parameters

Parameter Description Example value
Count The new occurence count. 5

Result

Returns recurrence end ID or error.

Description

Creates a recurrence end with a maximum occurrence count.
EKRecurrenceEnd is an attribute of EKRecurrenceRule that defines how long the recurrence is scheduled to repeat. The recurrence can be defined either with a number that indicates the total number times it repeats, or with a date, after which it no longer repeats. An event which is set to never end should have its EKRecurrenceEnd set to empty. If the end of the pattern is defines with a date, the client must pass a valid date. If the end of the pattern is defined as terms of a number of occurrences, the occurrenceCount passed to the initializer must be positive, it cannot be 0.

See also


Events.RecurrenceEnd.NewWithEndDate   -   Events.RecurrenceEnd.OccurrenceCount

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins