Passing Parms from Quick to Quiz

FERGUS_FREW@Non-HP-Ireland-om1.om.hp.com FERGUS_FREW@Non-HP-Ireland-om1.om.hp.com
Tue, 20 Apr 1999 08:15:55 +0100


     I can't say if this will address your particular situation, but we 
     have always used the SETSYSTEMVAL, GETSYSTEMVAL & DELETESYSTEMVAL to 
     pass variables between QUICK & QUIZ/QTP.
     
     in your QUICK screen..
     
     TEMPORARY t'fieldname CHAR*16      ;or whatever...
     
     in your procedural code ...
     
     IF NOT SETSYSTEMVAL ( "HP_Parm1", t'fieldname )
     THEN
        ERROR "Could not set up variable HP_Parm1"
        
     RUN COMMAND "QUIZ AUTO=quizprog STATISTICS = NO LIST =NO" &
         CLEAR SCREEN

     in quizprog ..

     DEFINE D'VAR1 CHAR*16 = GETSYSTEMVAL ( "HP_Parm1" )

     back in your QUICK screen (housekeeping)..

     IF NOT DELETESYSTEMVAL ( "HP_Parm1" )
     THEN
       INFO " "

     You have to mess around with changing the variables to/from a string but
     it works.

     BTW. I believe this was available in older versions of PH. Hope this helps.

     Regards,
     Fergus Frew
     HP3000 Apps development Consultant
     fergusf@iname.com  

     The opinions expressed here are my own and do not reflect the opinions of
     any other person or entity.

______________________________ Reply Separator _________________________________
Subject: Passing Parms from Quick to Quiz
Author:  Non-HP-azwygart (azwygart@anodizing.com) at HP-Ireland,mimegw1
Date:    19/04/99 23:42


Hi.
     
I will need run quiz from a quick screen, and pass several arguments to 
quiz.  The system that I am working on is:
OS HP3000 5.5p6
 ph  v8.19c2
     
I known this was not possible in version 7.29? 
Any help will be greatly appreciated.   Thanks
     
Abraham Z.                               Senior Programmer Analysts 
Anodizing Inc.                            Email: azwygart@anodizing.com 
7933 N. E. 21st Avenue            Phone: (503) 972-1404 x 1232 
Portland, OR 97211                   Fax:   (503) 972-1408
     
The thoughts, comments, and opinions expressed herein are mine 
and do not reflect those of my employer(s), or anyone else.
     
     
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu 
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu 
powerh-l@lists.swau.edu is gatewayed one-way to bit.listserv.powerh-l
This list is closed, thus to post to the list, you must be a subscriber.

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
powerh-l@lists.swau.edu is gatewayed one-way to bit.listserv.powerh-l
This list is closed, thus to post to the list, you must be a subscriber.