No Of records in a report

Hi ,

Can anybody tell me how I can define the number of records to be display per page in a report?


As I understand you want to print, say 45 records on a page, then the following 45 records on a new page and so on. If this is the case, one option is to define a variable (integer) and count the records as you a looping through the table (OnAfterGetRecord). When you reach the number wanted (e.g. “IF inCounter MOD 45 = 0”) you can call function CurrReport.NEWPAGE to force a new page.

Hi Anfinnur,

Thank you for your reply, yes I want to do as you mentioned. But I’m very new to Navision, hence can you please guide me step by step.

Thank you.