guides:programming:programmers_reference_manual:rti_lock_owner

RTI_Lock_Owner function

Returns the name of the computer containing the lock on a record.

owner = RTI_Lock_Owner( table, recordKey )

The function has the following parameters:

ParameterDescription
tableAn opened OpenInsight file handle.
recordKeyThe 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
 
 
 
 
  • guides/programming/programmers_reference_manual/rti_lock_owner.txt
  • Last modified: 2024/06/19 20:20
  • by 127.0.0.1