Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
USE MyTable EXCLUSIVE IN 0 ALIAS DBExcl
IF ERROR() = 1705 [COLOR=green]&& file access is denied[/color]
?MESSAGE()
?"Table is in use by another user."
ELSE
?"Table is NOT in use by another user."
ENDIF
FUNCTION DBFUsed
LPARAMETERS tcDBF
LOCAL lcONError, llError
lcONError = ON("ERROR")
ON ERROR llError=.T.
LOCAL llError = .F.
USE (tcDBF) IN 0 EXCLUSIVE
USE IN SELECT(tcDBF)
ON ERROR &lcONError
RETURN llError
ENDFUNC
[code]
Rick