Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using skip for options as user rights in menus
Message
De
14/03/2003 10:25:17
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Divers
Thread ID:
00765840
Message ID:
00765866
Vues:
20
Soykan, In your original post/example you had a table called "user". This table must be open for as long as the menu options are to be used by the application. This is because the SKIP FOR will be tested each time the menu option is accessed. It is not set up once on load but is re-evaluated each time the menu option is accessed. Therefore the user file must be open all the time.

An alternative would be to load the logical access fields from the user file into memory variables at the start of your app and then use those variables in the SKIP FOR test.

"alias USER is not found" means the user file is not open.


>Thanks Jos,
>i've tried but i am getting error "alias USER is not found" . could you tell me step by step what should i do for eg. in my start.prg ,menus,and user.dbf
>
>TIA
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform