Therber Posted August 30, 2002 Posted August 30, 2002 I'm having a problem getting a subsummary part to print after the body portion of a report. The body of the report has been set to page break after a given number of occurances (14 lines only, so it fits on the page OK). But the subsummary then prints on the next page. Is these a way to lock the subsummary part so that it will always print at the same location on my report. Thank You!
harryk Posted August 31, 2002 Posted August 31, 2002 create a calculation field (for example #break_after_14 with the calculation: Int((Status(CurrentRecordNumber)-1)/14) Be sure to set it to UNSTORED. Set the (trailing) subsummary to sort on the field #break_after_14 Disable in the BODY part-section the 'page break after ?? occurence ENABLE in the SUBSUMMARY part-section the pagebreak after each 1 occurence. This will do what you want. The calculation field mentioned has the value 0 as long as the 15th record is not printed. After the 14th record the value changes to 1, after the 28th record to 2 etcetera. The change of this value makes the page-break. Tip: when you assign the value 14 to a developer-changeable global, you (or the user) has easy control on the number of items printed on one page. Harryk
Recommended Posts
This topic is 8467 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now