|
Should be simple: - Define a total field, let's call it QTY_TOT - At detail L1 clear QTY_TOT - Add QTY to QTY_TOT for each record - At total L1 print QTY_TOT
HI I am working w/ a simple program that has two breaks, L2, L1. L2 is for an customer group and L1 for item. For L1 something is not working right. It was printing a line for each item including repetitive items with different totals (QTY). Now they would like to show only the total for the amount, iow, only one item per line. I then changed the code instead of just printing each Qty for each item, it now totals the QTY. When I have it print at Total L1, it only shows the first occurance, and when I have it print at Detail L1, it only shows the last occurance, thus it is leaving out all the others. I did a Debug on the L1 Total part. It indeed goes from the read to the print with out totalling the group. I am not sure if this can be done with the cycle the way I am trying to or not. Or is there a third way in terms of logic that I do not know or see. Thanks for any help in this, Rob400
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.