Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OSecurity Error
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
CodeMine
Title:
OSecurity Error
Miscellaneous
Thread ID:
00801852
Message ID:
00801852
Views:
37
I am trying to limit access to a section of code, and I am using the following (right from the CodeMine help):
IF NOT THISFORM.oSecurity.HasPrivilege('Write Checks')
  THISFORM.DisplayMessage('You are not allowed to write checks!')
ENDIF
However, it gives the following error immediately
Error #1992 in Qmselectaction
"IF ..."
OSECURITY is not a function, procedure or program.
Anyone have an idea of what I am doing wrong?

Mel Cummings
Next
Reply
Map
View

Click here to load this message in the networking platform