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: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

Calendar.SaveEvent

Saves the event.

Component Version macOS Windows Linux Server iOS SDK
Calendar 3.4 ✅ Yes ❌ No ❌ No ❌ No ❌ No
MBS( "Calendar.SaveEvent"; eventRef )   More

Parameters

Parameter Description Example
eventRef The id of the event to query. $eventRef

Result

Returns OK or error.

Description

Saves the event.

Examples

Creates new event:

$c = MBS("Calendar.NewEvent");
$r = MBS("Calendar.Item.SetTitle"; $c; CalendarTest::ItemTitle)
$r = MBS("Calendar.Item.SetNotes"; $c; CalendarTest::ItemNotes)
$r = MBS("Calendar.Item.SetURL"; $c; CalendarTest::ItemURL)
$r = MBS("Calendar.Item.SetLocation"; $c;CalendarTest::ItemLocation)
$r = MBS("Calendar.Item.SetStartDate"; $c; CalendarTest::ItemStartDate)
$r = MBS("Calendar.Item.SetEndDate"; $c; CalendarTest::ItemEndDate)
$r = MBS("Calendar.Item.SetAllDay"; $c;CalendarTest::ItemAllDay)
$r = MBS("Calendar.Item.SetCalendar"; $c; CalendarTest::CalendarUID)
$r = MBS("Calendar.SaveEvent"; $c )

Create a new reminder:

$id = MBS("Calendar.NewReminder")
$r = MBS( "Calendar.Item.SetDueDate"; $id; Get(CurrentHostTimeStamp) )
$r = MBS( "Calendar.Item.SetTitle"; $id; "Test" )
$r = MBS( "Calendar.Item.SetCalendar"; $id; "Erinnerungen" )
$r = MBS( "Calendar.SaveReminder"; $id )

See also

Example Databases

FileMaker Magazin

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


Calendar.SaveCalendar - Calendar.SaveReminder

Feedback: Report problem or ask question.