Fred, the $COMMAND is still available and the command structure of RUN app2 IN 
APP1.apx is still available.  You may have included something other than the 
procedure name after the $COMMAND.  Additionally, you can inbed the commands in 
the database and use RUN SELECT.  You can use property commands as others have 
suggested.

There are many ways to achieve the process you are looking for.  Each one will 
have its own advantages.

As Razzak would say "This ain't your grandfather's Oldsmobile."

Gary



----- Original Message ----
From: Fred C Kopp <[EMAIL PROTECTED]>
To: RBASE-L Mailing List <[email protected]>
Sent: Sunday, March 9, 2008 10:01:31 PM
Subject: [RBASE-L] - Run one Action from another


I hope I can ask this properly.  I have an application with several menus and 
corresponding custom actions.  The actions must be run in order, one at a time, 
to accomplish the desired end result, including doing updates and printing 
reports.
 
In addition to the one-at-a-time method, I'd like to provide the operator with 
an option to automatically run ALL the "modules" one after the other, in 
sequence--with a single click.  I could equip each module with an IF test to 
tell it whether to stop or proceed to the next module.
 
It boils down to how can I call or run one module from another without 
returning to the menu?  GOTO...LABEL is out because they are different files.  
In the old days, I could say RUN APP2 IN APP1.APX, but things are different 
now.  And it won't let me "create" a $COMMAND block--I get "not a run 
procedure."
 
This will make my boss swing from the chandeliers if I can pull it off.  How do 
I do it?
 
Thanks,
Fred
 
Fred C. Kopp
Authorized R:Base Developer
19 Teri Lane
Washington, PA  15301
 
P 724-222-7376
F 724-222-7376
C 724-413-5534
E [EMAIL PROTECTED]

Reply via email to