I am confusing about the report page. The coding of integer set as follows:
integer - OnAfterGetRecord()
rowline := 43 - counter;
IF Number > rowline THEN
The coding in the C/AL editor of sales line:
Sales Line - OnAfterGetRecord()
Sequence := Sequence + 1;
counter := counter + 1;
IF counter > 42 THEN BEGIN
counter := 0;
There are four sections in the report. The paper set is A4 (210 x 297mm)
Sectionheights are 4230 (sales line, header), 423 (sales line, body),423 (integer) and 3807
sals header, footer). in header and footer section properties, placeinbottom is selected to yes, in order
to fit the footer fully at the bottom of paper page. but the problem, the page become two pages although the integer or sales line has had 42 lines available. in the sales line there are only 39 items.
But after preview, there are only 35 items and in the page 2 is 9 items. Top margin is 2000. When top margin is set to 4000, then there will only 30 items in the page 1 and then 9 items in the page 2.Meanwhile there are still empty space available in the in the line and can accomodate 9 items. What other properties or are there any codings that can be used to solve the problem?
Any answers from you are apreciated so much. tku.