export each page on different pdf file

Hi!
I have a dataset containing two related tables. The parent table contains many rows. Each of them normally creates a page in my report. Is it possible to export each of these pages into separate pdf files
The most simple thing to do would be to loop through each row, copy  it to a new dataset, copy also the child rows and then perform the export to the new dataset.
Can you think of a more elegant  way to do that
Thanks
Dimitris



Answer this question

export each page on different pdf file

  • Erik_VB!

    Hi,

    The only thing you could really do (other than the idea you mentioned) is to set the PdfRtfWordFormatOptions to specific page numbers (FirstPageNumber, LastPageNumber and UsePageRange = true) and then apply these options to the ExportOptions object each time you export the report to pdf.  This assumes that you know exactly what page numbers the parent row changes occur on.

  • dougMurph

    Thanks Mark,
    I think this will do the job for me. I was wondering though:
    When does the actual rendering of the report takes place
    I hope that if I execute the Export method several times to get several single-page pdf files for each call, the rendering will only be done once!

  • Ian Heyns

    ...anybody...

  • export each page on different pdf file