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.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    Statistic  

Calendar.Events

Queries events.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Calendar 3.4 Yes No Yes, macOS only No No

MBS( "Calendar.Events"; startDate; endDate { ; calendarRef } )

Parameters

Parameter Description Example value
startDate The start date time stamp. $startDate
endDate The end time stamp.
If you want to get events for one day, please pass startDate with that date and time 00:00:00 and for enddate the same date with endDate 23:59:59.
$endDate
calendarRef Optional
A calendar identifier to search only this calendar.
If no calendar is specified, we check all calendars.
$calendarRef

Result

Returns list of event identifiers or error.

Description

Queries events.
If you pass calendar, only this calendar is searched. Else the specific calendar is searched.
If you get no events, please check in system privacy preferences whether FileMaker does have permissions to access the calendars at all.
The system limits results to around 4 years, so if you need to query bigger time spans, please use several calls.

Examples

Queries events:

MBS( "Calendar.Events"; myDatabase::StartDate; myDatabase::EndDate )

See also

Example Databases


Calendar.Calendars   -   Calendar.Item.AddAlarm

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins