Issue in Report Designing

Dear All,

Kindly Suggest for the below,

I am getting a Gap in Report which consists of Verticals line when there i more than 9 Items in the Report as shown below:-

I have defined in Sales Invoice Line(OnAfterget record) the below code:-

LinesPerPage += 1;
IF LinesPerPage = 10 THEN BEGIN
LinesPerPage := 1;
CurrReport.NEWPAGE;
END;

I want that after 9 Line, i want horizontal line in the report with written as “Continued…”

What version are you on - in the classic reports you can use OnPostSection to count lines & fo the continued line part using a Transfooter.

OnPostSection()
LinesPerPage := LinesPerPage + 1;
IF LinesPerPage > 9 THEN
CurrReport.NEWPAGE;