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.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    Statistic  

Events.Object.Refresh

Refreshes values for this object.

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

MBS( "Events.Object.Refresh"; EKObject )

Parameters

Parameter Description Example value
EKObject The reference to the object.
This can be an alarm, source, participiant, structured locacation, recurrence rule, calendar or calendar item.
$item

Result

Returns 1, 0 or error.

Description

Refreshes values for this object.
Determines if the object is still valid (i.e. it still exists in the database), and unloads all properties that have not been modified. If this ever returns 0, it indicates the record was deleted and this instance should be discarded and no longer referenced.
Returns 1 if still valid.

Examples

Refresh an object:

MBS( "Events.Object.Refresh"; "3E802BF6-BE7C-42EA-BA4A-16CCF824AA31" )

See also


Events.Object.IsNew   -   Events.Object.Reset

Feedback: Report problem or ask question.




Links
MBS Xojo tutorial videos