Split Print Jobs

edited 11:13AM in FastReport 4.0
Hello,

I print a lot of invoices. Usually each month around 800 invoices.
I'm looking for a way to say FastReport to create one print job for each client (row) in my dataset and not 1 big print job including all the clients together.
Because I need to post process on my printer each client (put in an envelope and stamp it automatically).

I can query my database and generate reports 1 by 1 but I was wondering if there is an option to do it in a more simple way, not changing a lot of my code.

Thanks
Thomas

Comments

  • edited 11:13AM
    allodoc wrote: »
    Hello,

    I print a lot of invoices. Usually each month around 800 invoices.
    I'm looking for a way to say FastReport to create one print job for each client (row) in my dataset and not 1 big print job including all the clients together.
    Because I need to post process on my printer each client (put in an envelope and stamp it automatically).

    I can query my database and generate reports 1 by 1 but I was wondering if there is an option to do it in a more simple way, not changing a lot of my code.

    Thanks
    Thomas
    Set 'Range Begin' and 'Range End' to Current.
    Cycle through the dataset calling the report generation code for each row.

  • edited 11:13AM
    technisoft wrote: »
    Set 'Range Begin' and 'Range End' to Current.
    Cycle through the dataset calling the report generation code for each row.
    Thanks for your answer...I don't exactly understand.

    My current report generates around 800 pages in 1 print job, one page per database record.
    What I want is to get 800 print jobs of only 1 page for each record in my dataset.

    Can't find Range Begin or End properties ? Is it to insert in the report script code ?

    Thanks

Leave a Comment