Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using skip for options as user rights in menus
Message
From
14/03/2003 10:25:17
 
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Miscellaneous
Thread ID:
00765840
Message ID:
00765866
Views:
21
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform