Hello folks,
I'm still working on this utility (in between other projects) for this one client. And, I have a screen that allows the user to select what items in the menu system that another user can access, and which ones are blocked - and that Table is actually based upon the Menu system dbf type file. However, now I need to build into the Menu system a function to control the User Access - based upon this Password type dbf file. And, by the way - the menu system is a standard FoxPro menu created under Menus(using the Menu Designer) in the Project. Now - within the Menu Designer you have the Options for each menu item - and there is the "Skip For" option within the Prompt Options. As of right now I am calling a procedure from the Skip For option to tell FoxPro when to Skip (i.e. Not Allow access to a particular menu option). Within this procedure that I create - I was attempting to call the BAR() function - to tell me what Menu option was just selected. However, it seems that it will NOT give the right value - due to a timing issue. Since my procedure is being called from within the Skip For - the call to my procedure actually occurs BEFORE the menu option is selected - and as such - the BAR() function actually returns the Previously selected menu option - NOT the menu option I am currently attempting to select. I'm sure someone on the list here has created a similar functionality to limit menu systems access based upon passwords - and hopefully someone can give me some pointers! TIA, Kurt _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/289ea162f5642645b5cf64d624c66a1405578...@us-ny-mail-002.waitex.net ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

