executing two designer programs sequentialy

Pickering, John (NORBORD) PICKERIJ@norbord.com
Tue, 1 Jun 2004 17:19:33 -0400


Terry

I don't think you quite understand what "push" does. It pushes the command,
update in your case, onto the pending command stack. It will take it from
that stack only when all the other procedure code has been executed.
Probably too late in your example.

I think you'd be better exploring the effects of the precommand and
postcommand options of the procedure statement.

Regards,
JWP


-----Original Message-----
From: terry terry [mailto:ggjos@hotmail.com]
Sent: Tuesday, June 01, 2004 4:56 PM
To: powerh-l@lists.sowder.com
Subject: executing two designer programs sequentialy


Hi,
     I have 2 designer procedures named 88 and 89 in Qdesign. After 88 runs 
and updates the screen the new data is used in calculations for the 89 
procedure. However when run separately as in 88 then 89 every thing goes 
well. But when I enter 88/89 in the action field in the screen , 89 does not

run because the updated data from 88 does not stay unless the screen is 
refreshed and the info is called up fresh. I tried "push update" in the 
procedure but to no avail. Help Thanks.


E.g.:
        Procedure designer 88

     Begin
       push update
             Qtp Auto=1
             Qtp Auto=2
             Qtp Auto=3        ;inputs date-to-start in screen
          Push update
End


Procedure designer 89

     begin
             Qtp Auto=1     ; needs date-to-start to continue
             Qtp Auto=2
             Qtp Auto=3
          end