Greetings,

Are these Rules scripts or no?

If they are not Rules- then the script is just a sub routine - so just call
the main sub for the script at the end.

 

If the scripts are Rules.

A couple of ways to accomplish this goal. 

 

We have a command called RunProject. This allows you to basically run a
Rules script within a project. This is moderately new so, go into VBA
editor, type in RunProject in a sub routine - if you don't see intellisense,
then your version does not have this command.. 

 

Another approach that takes some more "setup".

Step 1. Open the Second script

Step 2. Go into VBA - find the sub routine called RuleShell

Step 3. Copy the RuleShell sub routine

Step 4. Change Sub RuleShell to be something that makes sense to you:

                Sub TheSecondScript etc.

Step 5. Save the project, Open the First Script

Step 6. Put in a Step at the end of the script, add Rule and in its action,
call the sub routine name from Step 4.

 

Regards,

Thom

 

Thom C. Blackwell

Product Manager

Boston Software Systems

(866) 653-5105 ex 807

www.bossoft.com <http://www.bossoft.com/> 

 

Sign <http://www.bostonworkstation.com/customer_center/special_events.aspx>
up for my weekly webinar!

 

LEGAL NOTICE Unless expressly stated otherwise, this message is confidential
and may be privileged. It is intended for the addressee(s) only. Access to
this E-mail by anyone else is unauthorized. If you are not an addressee, any
disclosure or copying of the contents of this E-mail or any action taken (or
not taken) in reliance on it is unauthorized and may be unlawful. If you are
not an addressee, please inform the sender immediately, then delete this
message and empty from your trash.

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brian Van Grinsven
Sent: Wednesday, November 28, 2007 9:59 AM
To: [email protected]
Subject: [Talk] Scripts in a Sequence without the Scheduler

 


Hello Everyone, 

I want to be able to run 2 scripts one right after another, without using
the scheduler. 

Basically I want to call the second script to run at the end of the first
script. 

Has anyone ever done this before? 

Thank you for the help. 
...................................
Brian Van Grinsven
Integrated Systems Specialist
Medbuy Corporation
 <mailto:[EMAIL PROTECTED]> mailto:[EMAIL PROTECTED]
 <http://www.medbuy.ca/> http://www.medbuy.ca
T: 519.652.1688 ext. 114
F: 519.652.2788

Technical Support:
ext. 199 or [EMAIL PROTECTED]

Building Partnerships in Healthcare 

**********************************************************************
This e-mail and any attachments may contain confidential and 
privileged information. If you are not the intended recipient, please 
notify the sender immediately by return e-mail, delete this e-mail and 
destroy any copies. Any dissemination or use of this information by a 
person other than the intended recipient is unauthorized and may be 
illegal.
**********************************************************************

Reply via email to