recordislocked()

The recordislocked( function tests whether the current record is locked on this client.


Parameters

No parameters.


Description

This function tests whether the current record is locked on this client. If the record is locked, it returns true, otherwise it returns false.

This example downloads the latest version of the current record from the server, but only if the record is not locked on this computer. (If the record is locked, then downloading would wipe out any changes that had just been made to the record.)

if not recordislocked()
    downloadrecord
endif

See Also


History

VersionStatusNotes
10.2NewNew in this version.