>Hi All,
>i have a user.dbf with the fiels userid c(10),username c(15),password c(10),forms L,reports L tools L, etc..
>
> for eg . if the active user is ADMIN his properties on user.dbf is forms T,reports T,tools T in this situation these menus should be active , when the active user is USER and his properties on user.dbf is forms T,reports T,tools F ... tools menu should disable for this user .
>
>how can i use this logical situations in menu skip for option ? and how can i use this user.dbf while these actions occur ?
If you're using an application object, or any general repository of things which should be visible from everywhere, then you can have a member object in it where you would Scatter Name the record in user.dbf. So you would have oApplication.oUser.forms, or oApplication.oUser.tools etc available at all times. Then in your menu you could have, for example
skip for not oApplication.oUser.reports
This way you don't really care whether the user.dbf is open when the menu is refreshed or activated.