Calendar.Item.IsDetached
------------------------

Whether event is detached.

| 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.Item.IsDetached"; EventRef ) 

**MBS**( **"Calendar.Item.IsDetached";** /\* Whether event is detached. \*/  
**$EventRef**) /\* The reference to the event. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| EventRef | The reference to the event. | $eventRef |

### Result

Returns status or error.

### Description

Whether event is detached.  
If this event is an instance of a repeating event, and an attribute of this event has been changed to from the default value generated by the repeating event, isDetached will return 1. If the event is unchanged from its default state, or is not a repeating event, isDetached returns 0.  
### Example Databases

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

This function checks for a license.

Created 18th August 2014 , last changed 18th August 2014

  
[Calendar.Item.HasAlarm](CalendarItemHasAlarm.md) - [Calendar.Item.NextAlarmDate](CalendarItemNextAlarmDate.md)

[HTML Version](CalendarItemIsDetached.shtml)