Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   Crossplatform   Server (Not)   Client   Components   Old   Guides
New in version: 5.0   5.1   5.2   5.3   5.4   6.0   6.1   6.2   6.3   6.4   6.5   7.0   7.1    Statistic  

FSEvents.LatestEventId

Queries latest Event ID for this stream.

Component: FSEvents
Version: 5.4
Mac OS X: Yes
Windows: No
Server: Yes
FileMaker Cloud: No

MBS( "FSEvents.LatestEventId"; FSEventsRef )

Parameters

Parameter Description Example value
FSEventsRef The reference number for this FSEvents object. $fstream

Result

Returns ID or error.

Description

Queries latest Event ID for this stream.
Fetches the sinceWhen property of the stream. Upon receiving an event (and just before invoking the client's callback) this attribute is updated to the highest-numbered event ID mentioned in the event.

Examples

Query last event ID:

MBS( "FSEvents.LatestEventId"; $FSE )

See also


FSEvents.LastEventIdForDeviceBeforeTime   -   FSEvents.NextEvent

Feedback: Report problem or ask question.




Links
MBS Realbasic tutorial videos - Nachhilfe in Kruft