executing two designer programs sequentially

Deskin, Bob Bob.Deskin@Cognos.COM
Wed, 2 Jun 2004 09:22:58 -0400


If there are only QTP processes in these procedures, I don't see why 89 would be dependant on doing a retrieval or an update. Unless it's because they're numbered designer procedures and you have no data on the screen. If that's the case, what's happening in between 88 and 89 to make the data "disappear". If you made these named designer procedures with NODATA would it work?

If the PUSH UPDATE is supposed to update the screen data before running QTP, then I think someone else suggested using PRECOMMANDS UPDATE STAY. The PUSH puts the command on the stack for execution the next time QUICK needs a command. What you want is to update before the QTP runs. Use UPDATE STAY so that QUICK doesn't start into the next process  but rather stays in command prompt mode to execute the designer procedure.

Bob Deskin              
Product Manager, Application Development Tools
Cognos Inc. 3755 Riverside Drive, Ottawa ON K1G 4K9 CANADA
bob.deskin@cognos.com (613) 738-1338 ext 7268

-----Original Message-----
From: powerh-l-admin@lists.sowder.com
[mailto:powerh-l-admin@lists.sowder.com]On Behalf Of terry terry
Sent: June 1, 2004 5:46 PM
To: powerh-l@lists.sowder.com
Subject: RE: executing two designer programs sequentialy


No Bob ,
   I don't do a retrieval in the screen, but when I do and then execute 89 
it works well. But the aim is to have 88 and 89 execute sequentialy.Thats 
why I tried 88/89 in the action field.The previous response I got indicated 
that the push verb wouldn't work in this case as it most likely executes 
after both procedures.Thanks



>From: "terry terry" <ggjos@hotmail.com>
>To: powerh-l@lists.sowder.com
>Subject: executing two designer programs sequentialy
>Date: Tue, 01 Jun 2004 20:55:53 +0000
>
>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
>

_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail

= = = = = = = = = = = = = = = = = = = = = = = = = = = =
Mailing list: powerh-l@lists.sowder.com
Subscribe: "subscribe" in message body to powerh-l-request@lists.sowder.com
Unsubscribe: "unsubscribe <password>" in message body to powerh-l-request@lists.sowder.com
http://lists.sowder.com/mailman/listinfo/powerh-l
This list is closed, thus to post to the list you must be a subscriber. 
  
       This message may contain privileged and/or confidential information.  If you have received this e-mail in error or are not the intended recipient, you may not use, copy, disseminate or distribute it; do not open any attachments, delete it immediately from your system and notify the sender promptly by e-mail that you have done so.  Thank you.