QUICK SELECTBOX question....

Whittall, Conrad Conrad.Whittall@Cognos.COM
Fri, 5 Jan 2001 09:42:24 -0500


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C07725.B7C15550
Content-Type: text/plain;
	charset="iso-8859-1"

Hi Mike,
 
Unfortunately the SELECTBOX clause of the FIELD statement only uses values
that are statically built into the program at compile time...either from a
VALUES clause attached to the dictionary ELEMENT associated with the field,
or a VALUES clause on the FIELD statement itself.
 
Currently only Axiant 4GL offers the ability to have dynamically loaded
drop-down lists through a Windows client user interface. It generates a
DYNAMICLIST clause (rather than a SELECTBOX) for the associated FIELD
statement in the QDESIGN code that it sends to the PowerHouse server for
complilation. Then at runtime it is the QKSRV process (the remote PowerHouse
server), not QUICK (the PowerHouse terminal server), that acts upon that
DYNAMICLIST directive to read the display/return value pairs from the
designated file and populate the drop-down list in the Axiant client form.

Best regards, 
Conrad 

Conrad Whittall 
Marketing Manager, Application Development Tools, Cognos Incorporated 
3755 Riverside Drive, Ottawa, Ontario, K1G 4K9, Canada 
 
Developer productivity never goes out of style! 
 
For details of the Cognos PowerHouse family of high-productivity 
development tools for Web, Windows and terminal-based business
applications just look here, http://www.cognos.com/powerhouse
<http://www.cognos.com/powerhouse> .
 
-----Original Message-----
From: Lafferty, Mike [mailto:Mike.Lafferty@AIG.COM]
Sent: Friday 5 January 2001 09:11
To: 'powerh-l@sphere.swau.edu'
Subject: QUICK SELECTBOX question....



Hello out there.....Just a simple question this morning..... 

We, here at AIG, are currently running PH version 6.09D on a HP3000 979-100
MPE/ix v6.0....Using QUICK, can I create a drop-down window using values
from a KSAM file as items on a picklist from which the users can select....
This process is in entry mode.....

I spent the better part of yesterday scouring the manuals....The process as
is coded on similar screens utilizes the SELECTBOX option of the FIELD
statement in conjunction with the VALUES clause....i.e. I'm trying to get
away from hardcoding these values in the QDESIGN source to one which is
data-driven from an external file.....

I stopped at one point and thought, maybe you can't do this with the version
we are using now.... 
Any help or direction would be greatly appreciated.... 

TIA.....Mike 


------_=_NextPart_001_01C07725.B7C15550
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>QUICK SELECTBOX question....</TITLE>

<META content="MSHTML 5.50.4611.1300" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=894303414-05012001><FONT face=Verdana size=2>Hi 
Mike,</FONT></SPAN></DIV>
<DIV><SPAN class=894303414-05012001><FONT face=Verdana 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=894303414-05012001><FONT face=Verdana size=2>Unfortunately the 
SELECTBOX clause of the FIELD statement only uses values that are statically 
built into the program at compile time...either from a VALUES clause attached to 
the dictionary ELEMENT associated with the field, or a VALUES clause on the 
FIELD statement itself.</FONT></SPAN></DIV>
<DIV><FONT face=Verdana size=2></FONT>&nbsp;</DIV>
<DIV><SPAN class=894303414-05012001><FONT face=Verdana size=2>Currently only 
Axiant 4GL offers the ability to have dynamically loaded drop-down lists through 
a Windows client user interface. It generates a DYNAMICLIST clause (rather than 
a SELECTBOX) for the associated FIELD statement in the QDESIGN code that it 
sends to the PowerHouse server for complilation. Then at runtime it is the QKSRV 
process (the remote PowerHouse server), not QUICK (the PowerHouse terminal 
server), that acts upon that DYNAMICLIST directive to read the display/return 
value pairs from the designated file and populate the drop-down list in the 
Axiant client form.</FONT></SPAN></DIV>
<P><FONT face=Verdana size=2>Best regards,</FONT> <BR><B><I><FONT 
face="Times New Roman" color=#000080 size=6>Conrad</FONT></I></B><I></I> </P>
<DIV><FONT face=Verdana><FONT size=1><FONT color=#808080>Conrad Whittall</FONT> 
<BR><FONT color=#808080>Marketing Manager, Application Development Tools, Cognos 
Incorporated</FONT> <BR><FONT color=#808080>3755 Riverside Drive, Ottawa, 
Ontario, K1G 4K9, Canada</FONT> </FONT></FONT></DIV>
<DIV><FONT face=Verdana color=#808080 size=1></FONT>&nbsp;</DIV>
<DIV><FONT face=Verdana><FONT size=1><FONT color=#808080>Developer productivity 
never goes out of style!</FONT> </FONT></FONT></DIV>
<DIV><FONT face=Verdana color=#808080 size=1></FONT>&nbsp;</DIV>
<DIV><FONT face=Verdana><FONT size=1><FONT color=#808080>For details of the 
Cognos PowerHouse family of high-productivity</FONT> <BR><FONT 
color=#808080>development tools for Web, Windows and terminal-based 
business</FONT></FONT></FONT></DIV>
<DIV><FONT face=Verdana><FONT size=1><FONT color=#808080>applications just look 
here, <A target=_blank 
href="http://www.cognos.com/powerhouse">http://www.cognos.com/powerhouse</A>.</FONT></FONT></FONT></DIV>
<DIV><FONT face=Verdana color=#808080 size=1></FONT>&nbsp;</DIV>
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
size=2>-----Original Message-----<BR><B>From:</B> Lafferty, Mike 
[mailto:Mike.Lafferty@AIG.COM]<BR><B>Sent:</B> Friday 5 January 2001 
09:11<BR><B>To:</B> 'powerh-l@sphere.swau.edu'<BR><B>Subject:</B> QUICK 
SELECTBOX question....<BR><BR></FONT></DIV>
<P><FONT face=Arial size=2>Hello out there.....Just a simple question this 
morning.....</FONT> </P>
<P><FONT face=Arial size=2>We, here at AIG, are currently running PH version 
6.09D on a HP3000 979-100 MPE/ix v6.0....Using QUICK, can I create a drop-down 
window using values from a KSAM file as items on a picklist from which the users 
can select.... This process is in entry mode.....</FONT></P>
<P><FONT face=Arial size=2>I spent the better part of yesterday scouring the 
manuals....The process as is coded on similar screens utilizes the SELECTBOX 
option of the FIELD statement in conjunction with the VALUES clause....i.e. I'm 
trying to get away from hardcoding these values in the QDESIGN source to one 
which is data-driven from an external file.....</FONT></P>
<P><FONT face=Arial size=2>I stopped at one point and thought, maybe you can't 
do this with the version we are using now....</FONT> <BR><FONT face=Arial 
size=2>Any help or direction would be greatly appreciated....</FONT> </P>
<P><FONT face=Arial size=2>TIA.....Mike </FONT></P></BODY></HTML>

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