Please enable JavaScript to view this site.

R:BASE 11 Help

Navigation: Function Index > G > GETVAL

GetLock

Scroll Prev Top Next More

(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 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 vCheckLock = (GETVAL('GetLock','Customer'))

 

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