Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.0   7.1   7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3    Statistic  

Calendar.SaveEvent

Saves the event.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Calendar 3.4 Yes No Yes, macOS only No No

MBS( "Calendar.SaveEvent"; eventRef )

Parameters

Parameter Description Example value
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


Calendar.SaveCalendar   -   Calendar.SaveReminder

Feedback: Report problem or ask question.




Links
MBS Xojo tutorial videos