>I call a second menu (recmenu) from my mainmenu (mainmenu). I am unable to figure out the correct syntax to switch between menus.
>I call recmenu from a command in mainmenu (do recmenu.mpr). If I try to return to my main menu by name (show menu mainmenu), I get the error "menu not defined".
>How do I correct my problem?
>THANKS!
Ken,
You have two choices, the simple one is to run the main menu again as in;
DO MainMenu.mpr
The more complex but probably better way is to use the PUSH MENU and POP MENU commands to save the main menu in memory;
PUSH MENU _msysmenu
DO recmenu.mpr
...
POP MENU _msysmenu