Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OSecurity Error
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
CodeMine
Titre:
OSecurity Error
Divers
Thread ID:
00801852
Message ID:
00801852
Vues:
38
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform