|
Ron, >This is sort of a standard we use in our SQLRPGLE programs Thanks -- it is the first anybody has responded with real code. > * Force page breaks if Sorts change. >C IF SQLSORT1 <> SVSORT1 >C OR SQLSORT2 <> SVSORT2 >C OR SQLSORT3 <> SVSORT3 > >C OR SQLSORT4 <> SVSORT4 >C OR SQLSORT5 <> SVSORT5 >C EXSR $PAGBRK But that isn't the same functionality I was showing. That is like naming L1 on five different fields. You are really only doing one level break here, when any of the five change. I want five (actually I guess my sample was four) *different* levels of headings and subtotals. Naturally, if only the thrid field changes contents, the two lower levels also must kick off subtotals etc. Could you try again with a more complete hiearchy of break levels? You are showing one level of headings and zero levels of totals. We need to have the functionality be common to both to compare methods. Doug
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.