Maxtrix Overflow in child band problem

pinbotpinbot Texas
edited 5:09PM in FastReport .NET

FR.NET 1.2.69


My page consists of a Page Header, a Child of the Page Header, and a Footer. The page is Letter size, in Landscape mode.

In the child band I have a matrix object.

The column headers are rotated 270 degrees.

If the column headings get too large so that it would continue the matrix object on the next page, FR.NET stops working.

You can reproduce this with the "Using Expressions" Matrix Demo.
1. Add a Page Header
2. Add a Child of the page Header
3. Move the Matrix to the child
4. Delete the Report title band the maxtrix was originally in.
5. Preview the report. After a few seconds, FR.Net will stop.

Bryan.

Comments

  • edited 5:09PM
    Hello,

    Don't place the Matrix on the page header or it child. When the large matrix forms a new page, the page header is printed on a new page, and the new matrix is printed again and again. It's by design behavior which you should keep in mind.
  • pinbotpinbot Texas
    edited 5:09PM

    What band can I put it in then?

    This is on page 46 of a long report, all of which have page headers.

    If I put it on a "report title" band, it prints BEFORE the page header of the page it's on.

    I have a uniform page header on every page. I want a matrix item on this page and overflow if necessary.

    Is that not possible?

  • edited 5:09PM
    If you want report title after the page header, select the Page and set its TitleBeforeHeader property to false.
    You also may use the data band which is not connected to data (it will print one row then).
  • pinbotpinbot Texas
    edited 5:09PM

    Now why didn't I think of that! (slaps head).

    Adding a non-connected databand did the trick.

    Thanks!

    Bryan

Leave a Comment