Creating multiple reports thru a parameter

Posted by: nlcandyman on 3 August 2017, 3:19 pm EST

  • Posted 3 August 2017, 3:19 pm EST

    Hi All,



    I was wondering if it's possible to create a report 'multiple times' with use of a parameter.



    For example:

    I am using a report (1 page) which is creating a unique barcode (which is stored in a database) everytime i generate the report.



    But let's say i need to print out this report 10 times (because i need 10 unique barcodes).



    As it is now, i have to re-generate the report 10 times in order to have 10 unique barcodes.



    Is it somehow possible, that with use of a parameter, i can say how many reports i want to have generated?



    F.e.: a parameter which says:

    'Quantity of reports', that when i say '10' , the report is being generated 10 times at once. (so instead of 1 page i have 10 pages)
  • Replied 3 August 2017, 3:19 pm EST

    Hello,

    In order to have this affect, you will need to pass the "number of pages" value in main application .Please take a look at the attached sample which is a very rough simulation of the desired effect. Here I have bound the report to a datatable with empty rows. From the main application, the user will select the number of pages that need to appear on the report and based on it the number of rows(which are just empty strings) is decided. Inside the report, I have a banded list which has the field from the dataset as well as the barcode and has a PageBreakAtEnd set to true.

    Regards,
    Prantik

    2012/01/RepeatPages.zip
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels