Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to protect my informations from opening VFP 's table
Message
From
21/01/1999 10:07:10
 
 
To
20/01/1999 22:09:06
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00175756
Message ID:
00178454
Views:
29
Here 'tis ----
USE userlist ORDER username                   && Open the user table
cName=SUBSTR(SYS(0),AT("#",SYS(0))+2,15)      && Use SYS(0) to get current 
                                              && user network user ID
IF SEEK(cName,"userlist")                     && If this user is OK
   RETURN .T.                                 && ...then Return True (OK)
ELSE
   RETURN .F.                                 && ...else Return False (Not OK)
ENDIF
> Thanks for you suggestion, but I 'm not 100% understand. So, I would like to suggest me some sample codes which use sys(0).
> Thanks again for your time.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform