company logo

PropertyHandle :: GetInstModCount - Get instance modification count

The function returns an internal modification count for a persistent instance. This allows checking whether the instance has been updated by another user or application after last reading it, since each modification will increase the modification count stored in the database.

Since the modification count is rotating (starting again with 1 after reaching 255) this is not a save indication. Thus, it is suggested to use server event handler for reacting on changes.

Return value:  Modification count ( uint16  )

The modification count contains the number of modifications for an instance. After 255 modifications it starts to count from the beginning. Only modifications that are written to database are counted.

Implementation details

uint16 PropertyHandle  :: GetInstModCount (  )