Returns the name of the computer containing the lock on a record.
owner = RTI_Lock_Owner( table, recordKey )
The function has the following parameters:
Parameter | Description | |
---|---|---|
table | An opened OpenInsight file handle. | |
recordKey | The key to the record to check. |
Null if not locked and the computer name if locked.
Open "CUSTOMERS" to f_customers then Lock f_customers, 5 else owner = RTI_Lock_Owner( f_customers, 5 ) call msg( @window, owner : " currently holds a lock on the record." ) end end