Calendar.UncompletedTasks
-------------------------

Queries all uncompleted tasks.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Calendar](component_Calendar.md) | [3.4](newinversion34.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |

### Deprecated

This function was [deprecated](deprecated.md).

MBS( "Calendar.UncompletedTasks" { ; calendarRef } ) 

**MBS**( **"Calendar.UncompletedTasks";** /\* Queries all uncompleted tasks. \*/  
**$calendarRef**) /\* Optional; Optional, a calendar identifier or name to search only this calendar. \*/ 

### Parameters

| Parameter | Description | Example | Flags |
|---|---|---|---|
| calendarRef | Optional, a calendar identifier or name to search only this calendar. | $calendarRef | Optional |

### Result

Returns list of task/reminder identifiers or error.

### Description

Queries all uncompleted tasks.  
If you pass calendar, only this calendar is searched. Else all calendars are searched.  
### Examples

Queries tasks:

 MBS ( "Calendar.UncompletedTasks" )  
### See also

- [Calendar.UncompletedTasksDueBefore](CalendarUncompletedTasksDueBefore.md)

### Example Databases

- [Mac and iOS/Events/Calendar/Reminders](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20and%20iOS/Events/Calendar/Reminders.shtml#1ScriptAnchor_)

This function checks for a license.

Created 18th August 2014 , last changed 11st October 2019

  
[Calendar.TasksCompletedSince](CalendarTasksCompletedSince.md) - [Calendar.UncompletedTasksDueBefore](CalendarUncompletedTasksDueBefore.md)

[HTML Version](CalendarUncompletedTasks.shtml)