Calendar.Alarm.GetRelativeTrigger
---------------------------------

Queries the relative trigger value.

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

### Deprecated

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

MBS( "Calendar.Alarm.GetRelativeTrigger"; alarmRef ) 

**MBS**( **"Calendar.Alarm.GetRelativeTrigger";** /\* Queries the relative trigger value. \*/  
**$alarmRef**) /\* The reference to the calendar alarm. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| alarmRef | The reference to the calendar alarm. | $alarmRef |

### Result

Returns value or error.

### Description

Queries the relative trigger value.  
Value is in seconds relative to parent calendar item.  
  
The time that an alarm goes off is referred to as the trigger. Alarms have either a relative trigger, which means the alarm fires a certain number of seconds before an alarm occurs, or an absolute trigger, which specifies the exact time the alarm will trigger off.  
### See also

- [Calendar.Alarm.GetAbsoluteTrigger](CalendarAlarmGetAbsoluteTrigger.md)
- [Calendar.Alarm.SetAbsoluteTrigger](CalendarAlarmSetAbsoluteTrigger.md)
- [Calendar.Alarm.SetRelativeTrigger](CalendarAlarmSetRelativeTrigger.md)

### 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.Alarm.GetRelatedTo](CalendarAlarmGetRelatedTo.md) - [Calendar.Alarm.GetSound](CalendarAlarmGetSound.md)

[HTML Version](CalendarAlarmGetRelativeTrigger.shtml)