Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to disable menu in a 2-Top Level Form 1

Status
Not open for further replies.

fredgmain

IS-IT--Management
Oct 30, 2009
22
MY
Hi all,

I have a 2 - Top Level Form with a menu. When the user selected a option in the menu to generate a report. I would like to disable the entire menu so that the user will not have access to other menu items. When the report is finished (print or preview), I like to enable the menu again.

Please help.

Thanks
Fredgmain

 
[ol]
[li] In your menu bar (the skip for option), put a variable like lAvail. [/li]
[li] Just before you call your report set the variable to .T., recall your menu, then run your report.[/li]
[li] After you report runs, reset the variable to .f. and recall your menu.[/li]
[/ol]




Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
ReFox XI (www.mcrgsoftware.com)
 
Dear Mike,

Thanks for your help!

Regards,
Fred
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top