Microsoft Visual Foxpro
Microsoft Visual FoxPro Codes, Tips, Window Design, Database and Tables
Search This Blog
Showing posts with label
logout
.
Show all posts
Showing posts with label
logout
.
Show all posts
Log Out Code
PUBLIC pCurrUser
SELECT SviewAccess
=REQUERY("SviewAccess")
LOCATE FOR ALLTRIM(UserName) = ALLTRIM(pCurrUser)
IF FOUND()
REPLACE AccessStatus WITH "LOGOUT"
THISFORM.REFRESH
ENDIF
CLEAR EVENTS
ON ShutDown
QUIT
Older Posts
Home
Subscribe to:
Posts (Atom)