Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2001
    Posts
    45

    Question Unanswered: Conditionial Page break in report??

    I am formatting table entries into a reports detail section where the entry can either be a header or some detailed data.

    Now I would like to create a page break inside the format-event similar to word. "If the header is the last thing on the report and the details wouldnt fit onto the same page, then forward the header to the next page also).

    One approach was finding out, at what Y-Position I am in the current report and issue the page break through a tresshold value. Unfortunately the very promising looking property "CurrentY" always returns 0 (I exptected the absolute Y-Position of the report page)...

    Has anybody a solution for this (or does anybody understand me)?

  2. #2
    Join Date
    Nov 2002
    Posts
    150

    Re: Conditionial Page break in report??

    Did you try setting the KeepTogether property on the detail section?

  3. #3
    Join Date
    Nov 2001
    Posts
    45
    Yes, but I think that doesnt apply since each header and each piece of data is a single detail-field. It's all in one normalization level; VBA is used to format the differences betweend header and data.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •