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.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

Events.Events

Queries events in a given time range.

Component Version macOS Windows Linux Server iOS SDK
Events 6.2 ✅ Yes ❌ No ❌ No ❌ No ✅ Yes
MBS( "Events.Events" { ; StartDate; EndDate; Calendars } )   More

Parameters

Parameter Description Example Flags
StartDate The start date to search from.
Can be empty.
Optional
EndDate The end date to search before. Optional
Calendars The identifier for the calendar you want to search.
Leave empty to search all.
Optional

Result

Returns OK or error.

Description

Queries events in a given time range.
You can use this function to search for events between a range of dates.
You can pass nothing for start date to find all events before endDate.
You can pass nothing for both start and end date to get all events in the specified calendars.
You can pass nothing for calendars to fetch from all available calendars.
OS X Only: For performance reasons, this method will only return events within a four year timespan.
If the date range between the startDate and endDate is greater than four years, then it will be shortened to the first four years.

Examples

Find events within next 24 hours:

MBS( "Events.Events"; get(CurrentHostTimestamp); get(CurrentHostTimestamp) + 24 * 60 * 60 )

See also

Example Databases

FileMaker Magazin

Created 10th March 2016, last changed 15th April 2021


Events.EventStoreIdentifier - Events.IncompleteReminders

Feedback: Report problem or ask question.