Hello,
Let me preface this thread by saying I've never done anything custom with a menu. I usually use the menu designer, and Vola! Some of you may have read a previous thread I created regarding a report app that I developed. I have a main app, and then I have my report app. My report app simply runs all of my reports so if there's a report a customer needs I can simply compile that app and send it rather then compiling and sending my main app. With that said here's what I want to do...
Currently my main app references a table to get the report descpriptions. Those are displayed to the user through a combo box. I don't use the menu bar to run reports. That's however what I want to try and do. I developed a menu bar in my report app, and I want to call it from my main app. I was able to get that to work "kind of". As soon as I run the report app menu from my main app it wipes out my main app menu. Is there a way where I can simply tell the system to "Do" this menu in addition to the menu that is already running?
Here's the code that I'm running. I'm not very familiar with setting the procedure to a different app so maybe that's my problem. Any help is appreciated.
SET PROCEDURE TO reporting.app show_menu additive
DO show_menu
Here's the "show_menu.prg" from within my reporting.app. I realize I probably didn't need to encase this in a seperate PRG. I've been going about this with very little menu knowledge. That's why I need some help.
do reportapp_menu.mpr