AS400 creating subtotals from "Selected" data
Rendell Requiro
rendell@agbus.com
Fri, 25 May 2001 13:14:56 -0700
This is a multi-part message in MIME format.
------=_NextPart_000_0021_01C0E51C.B13EC5E0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Greetings all.
I have a Quick screen that I'd like to tune up a bit. The primary file =
occurs ten times on the screen and displays data from a single file. =
The user would like to add subtotals at the bottom of each column (easy =
enough), but wants to have the subtotals calculated only for the data =
that the user has "Selected" with the F10=3DSelect key.
Has anyone out there addressed this issue? I can do a WHILE RETRIEVING =
for an alias of the primary file in the POSTFIND procedure, but I am not =
sure how to evaluate the data in the field(s) that the user is Selecting =
on. Any suggestions?
Rendell Requiro
AG Business Management, Inc.
rendell@agbus.com
831-455-2355 x101 voice
831-455-2264 fax
www.agbus.com
------=_NextPart_000_0021_01C0E51C.B13EC5E0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3401" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>Greetings all.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>I have a Quick screen that I'd like to tune up a =
bit. =20
The primary file occurs ten times on the screen and displays data from a =
single=20
file. The user would like to add subtotals at the bottom of each =
column=20
(easy enough), but wants to have the subtotals calculated only for the =
data that=20
the user has "Selected" with the F10=3DSelect key.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>Has anyone out there addressed this issue? I =
can do a=20
WHILE RETRIEVING for an alias of the primary file in the POSTFIND =
procedure, but=20
I am not sure how to evaluate the data in the field(s) that the user is=20
Selecting on. Any suggestions?</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>Rendell Requiro<BR>AG Business Management, =
Inc.<BR><A=20
href=3D"mailto:rendell@agbus.com">rendell@agbus.com</A><BR>831-455-2355&n=
bsp; =20
x101 =20
voice<BR>831-455-2264 &nbs=
p; =20
fax<BR><A=20
href=3D"http://www.agbus.com">www.agbus.com</A><BR></FONT></DIV></BODY></=
HTML>
------=_NextPart_000_0021_01C0E51C.B13EC5E0--