AS400 creating subtotals from "Selected" data
Mark Stewart
stewm@canada.com
26 May 2001 15:48:54 -0700
Rendell,
What if you had a temporary item that occured with the primary. If the records was selected make the temporary item "Y" or something like that. Subtotal if temporary item = "Y".
Mark Stewart
Consultants Club Corp.
On Fri, 25 May 2001, "Rendell Requiro" wrote:
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML><HEAD>
> <META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
> <META content="MSHTML 5.00.2614.3401" name=GENERATOR>
> <STYLE></STYLE>
> </HEAD>
> <BODY bgColor=#ffffff>
> <DIV><FONT size=2>Greetings all.</FONT></DIV>
> <DIV> </DIV>
> <DIV><FONT size=2>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=Select key.</FONT></DIV>
> <DIV> </DIV>
> <DIV><FONT size=2>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?</FONT></DIV>
> <DIV> </DIV>
> <DIV><FONT size=2>Rendell Requiro<BR>AG Business Management, Inc.<BR><A
> href="mailto:rendell@agbus.com">rendell@agbus.com</A><BR>831-455-2355
> x101
> voice<BR>831-455-2264
> fax<BR><A
> href="http://www.agbus.com">www.agbus.com</A><BR></FONT></DIV></BODY></HTML>
__________________________________________________________
Get your FREE personalized e-mail at http://www.canada.com