GetLock
Top  Previous  Next

(GETVAL('GetLock','tableviewname'))

GetLock is the first required parameter and the table/view name is the name of the table or view. Use this function to programmatically find the LOCK status of a table or view. The returning value is ON or OFF, depending on whether a lock is in place upon the table or view.

Example:
   
SET VAR vCheclLock = (GETVAL('GetLock','Customer'))  

vCheckLock will return the value of ON or OFF for the Customer table