Passing Parameters to a subscreen

Shaun Dimmick sdimmick@milk.org
Mon, 22 Mar 2004 09:14:10 -0500


This is a multi-part message in MIME format.

------=_NextPart_000_000E_01C40FEE.09906E70
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: 7bit

Hi, I was wondering if there is a way to pass information to a subscreen in
qdesign.  Right now I have 2 different users using the same quick screen,
but accessing different sets of records,  I'm using the LOGONID function to
differentiate between the 2 users.  

 

FILE SOMEFILE DETAIL NOITEMS OCCURS 2

   SELECT IF TYPE = "1" AND D_LOGONID = "BOB" &

        OR TYPE="2" AND D_LOGONID= "JOE"

 

Type is a field in somefile

 

Each user is coming to this screen from a different menu,  anyone know if
there is a way to differentiate what menu the program was called from?
Perhaps pass a parameter to the subscreen to let it know what menu it was
called from.  I'd rather not make it logon specific so that if "Bob" or
"Joe" goes on vacation, someone else can

Still do their work.

        


------=_NextPart_000_000E_01C40FEE.09906E70
Content-Type: text/html;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:r_ansi;
	panose-1:2 11 6 9 2 2 2 2 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:Arial;
	color:windowtext;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Hi, I was wondering if there is a way to pass =
information to
a subscreen in qdesign.&nbsp; Right now I have 2 different users using =
the same
quick screen, but accessing different sets of records,&nbsp; I&#8217;m =
using
the LOGONID function to differentiate between the 2 users.&nbsp; =
<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"r_ansi"><span
style=3D'font-size:10.0pt;font-family:r_ansi'>FILE SOMEFILE DETAIL =
NOITEMS OCCURS
2<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"r_ansi"><span
style=3D'font-size:10.0pt;font-family:r_ansi'>&nbsp;&nbsp; SELECT IF =
TYPE =3D
&quot;1&quot; AND D_LOGONID =3D &quot;BOB&quot; =
&amp;<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"r_ansi"><span
style=3D'font-size:10.0pt;font-family:r_ansi'>&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;
OR TYPE=3D&quot;2&quot; AND D_LOGONID=3D =
&quot;JOE&quot;<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"r_ansi"><span
style=3D'font-size:10.0pt;font-family:r_ansi'><o:p>&nbsp;</o:p></span></f=
ont></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>Type is a field in =
somefile<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"r_ansi"><span
style=3D'font-size:10.0pt;font-family:r_ansi'><o:p>&nbsp;</o:p></span></f=
ont></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>Each user is coming to this =
screen
from a different menu, &nbsp;anyone know if there is a way to =
differentiate
what menu the program was called from?&nbsp; Perhaps pass a parameter to =
the
subscreen to let it know what menu it was called from.&nbsp; I&#8217;d =
rather
not make it logon specific so that if &#8220;Bob&#8221; or =
&#8220;Joe&#8221;
goes on vacation, someone else can<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>Still do their =
work.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3D"r_ansi"><span =
style=3D'font-size:10.0pt;
font-family:r_ansi'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
</span></font><o:p></o:p></p>

</div>

</body>

</html>

------=_NextPart_000_000E_01C40FEE.09906E70--