info(“serverrecordid”)
info(“serverrecordid”)

The info(“serverrecordid”) function returns the unique ID number for the current record.

Description

This function returns the internal unique serial number associated with the current record. This number is guaranteed to be unique in this database. The returned value is an integer from 1 to 2**31 (2 to the thirty-first power).

Note: This function will return zero for local records in a shared database that were created offline but not yet synchronized to the server. These records are not assigned a unique ID number until they are synchronized.

Note: The ID number is guaranteed to be unique, but is not guaranteed to be unchanging for all time. For example performing a new sharing generation will assign a new ID number to every record in the database.

See Also

- info("serverrecordts") -- returns the internal time stamp associated with the current record.

History

Version | Status | Notes
10.0 | Updated | In Panorama 6.0 this value was only valid when using a shared database. It now also returns a unique value for single user databases. It will still return zero for local records in a shared database that were created offline but not yet synchronized to the server.