Report Line Count

clippernet
clippernet Member Posts: 38
Hello forum,

I have a problem with the reports in Navision, they all seem to generate page breaks by some hidden algorithm that assumes less lines than there are in reality. When the sales quote for instance has two or more items (with extended texts), then the report breaks into 2 pages. However, the second part would easily fit onto the first page.

I haven't made any changes at all to the standard reports, however I can't get the bottom third of the first page to be used up fully.

Now I read somewhere in this forum that there was an unseen maximum of 45 lines for reports, is that true? And if so, is there a way to change this to - say - 55?

Thanks in advance
Beo

Comments

  • Alex_Chow
    Alex_Chow Member Posts: 5,063
    You have to play with the margins of the report to get the number of lines you want. Navision uses 1mm as the base unit of measure. You probably need to break out the ruler to get the exact lines you want.
  • clippernet
    clippernet Member Posts: 38
    Thanks for the reply, you are right, I can gain some space by setting the bottom margin to 0. However there is still loads of free space on the first page, and the second page contains just three lines. It doesn't seem possible to set negative values here.

    One other thing that I've noticed is that when I reduce the paper size, I get less rows and the preview page adjusts as expected. However, when I increase the paper size to - say - A3, then _nothing_ changes. The preview looks exactly the same size with the same amount of line as when the paper size is A4.

    Maybe I'm looking at the wrong place, because the default value in the bottom margin of the report's properties was 2000 (which couldn't possibly be 2000 mm ?) Is there some global setting maybe?

    Thanks in advance,
    Beo
  • clippernet
    clippernet Member Posts: 38
    Hello again,

    I've been doing some debugging and I've found out that the reason for the free space is because there are sections on the report that - while being invisible via CurrReport.SHOWOUTPUT - nevertheless use up space.

    How can I ensure that sections that are invisible don't add with the calculation of the available linecount? Which is frankly what I would have expected in the first place?

    Thanks in advance
    Beo