August 30, 200223 yr 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!
August 31, 200223 yr 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
Create an account or sign in to comment