Multi Page Report

Multi Page Report

Forum member · Jun 4, 2007
Hi I am involved in generating a multi-page invoice using dynamic pdf API (not report designer), brief scenario is as under: a) Every page will have 1) Logo of the company as part of the header 2) Footer of 4 lines and Page No as label Both 1 and 2 will appear in all pages. b) I should be able to add more pages as and when I require c) Import data from a table (Ms-access) or csv file and populate data in a table. As I add more invoce line item, report should skip automatically to multiple pages, as no. of lines per page is reached. Help is highly appreciated.

Re: Multi Page Report

Support · Jun 4, 2007
Hello, Yes, you can achieve your requirements using our product without any problem. You will have to add the logo, footer lines and the page numbering label to a Template and add the template to the document so that these elements will be added to all the pages of the document. You can refer to the Templates and Page Numbering Label topics on our help documentation. Yes, you can add any number of pages to a document without any problem. You will have to create a Page object and add it to the page collection of the document. Following is the sample code. Page page = new Page(); document.Pages.Add( page ); You can add the data to a table by using the table page element. Please refer to the Table topic on our help documentation. You can take care of the overflow records or the records which does not fit in a given height of the table by using the GetOverflowRows method of the table object. You can add these overflow records to a new page and you can do this until the overflow records exist. You can refer to the Table Continuation topic on our help documentation. Thanks, ceTe Software Support Team.