RPG Bug?(,D file includes an invalid total line)


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Jon Sacks on June 30, 2005 at 12:12:14:

This report gives an unexpected result, the last line is not delimited properly and repeats the last value, what it is trying to do is create a grand total. Is there a command that I am missing or is this a bug?

ERASE PNBI,CGW
PRINTER PNBI,CGW,D
WORKDISC RPT
INPUT ORDER.DETAIL
TITLE PNB BY ITEM
SELECTING IF O1.ORDER.LEVEL EQ "999"
SORT ITEM.NUMBER,A
REPORT
TOTAL ITEM.NUMBER;QTY.SHIPPED
BREAK ON ITEM.NUMBER

Result:
"CG2239CH ", 2976
"CG2240CH ", 1368
"CG2240CHKETT", 13
"CG2241CH ", 3065
"CG2241CHRSST", 300
"CG2249WD ", 1058
"CG2253CH ", 485
"CG2254CH ", 929
"CG2255CH ", 2213
"CG2257BK ", 2370
"CG2259BK ", 600
"CG2334CH ", 3484
"CG2334CHRSST", 27
"CG2516CH ", 2400
"CG2533CH ", 2365
"CG2596CH ", 2400
"CG2599CH ", 1314
"CG2602CH ", 2776
"CG2613CH ", 957
CG2613CH , 31100



Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):






[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]