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

Events.Commit

Commits pending changes to the database.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Events 6.2 Yes No Yes, macOS only No No

MBS( "Events.Commit" )

Parameters

none

Result

Returns OK or error.

Description

Commits pending changes to the database.
If you use saveCalendar/saveEvent/removeCalendar/removeEvent, etc. and you pass 0 to their commit parameter, you are batching changes for a later commit. This method does that commit. This allows you to save the database only once for many additions or changes. If you pass 1 to methods' commit parameter, then you don't need to call this method.
This method will return OK as long as nothing went awry, even if nothing was actually committed. Else it returns an error.

See also


Events.ClearNotification   -   Events.CompletedReminders

Feedback: Report problem or ask question.




Links
MBS Xojo PDF Plugins