Multiple page merge

Multiple page merge

Forum member · Sep 5, 2006
I have a template pdf with form fields. I need to loop through a dataset, fill in the form multiple times, and drawtoweb a multiple page document. I do not wish or need to save files to disk. Any samples you can point me to?

Re: Multiple page merge

Support · Sep 5, 2006
Hello, Yes, you can merge same PDF form multiple times without any problem and fill them with different data from the database. You can use the PdfDocument object for the PDF template and an empty MergeDocument object to start with. Then using the overloaded Append method of the MergeDocument object append the PDF multiple times. It is possible to reorganize the Acro Form fields as they are merged into the PDF document several times. This prevents renaming issues and helps better organize the form field data. Following is the link to the Help Documentation on the web site that shows how to prevent renaming of form fields using MergeOptions. Look at the "Filling Reorganized Acro Form Fields" at the bottom. Thanks, ceTe Software Support Team

Re: Multiple page merge

Forum member · Sep 18, 2006
Thanks, that did the trick.