How do i print multiple reports?

Puiu

Well-known member
Joined
Oct 6, 2004
Messages
90
In my application I use report viewer (not reporting services) to display invoices. Can anyone help with how i could print like 20 invoices at once? The user would give a command that would ask the software to print from invoice 100 to 120.
I am guessing that i should use the print document control but how do i pass the data from the report viewer to the print document?

Thanks
 
Are you using the crystal report viewer if so then you can set the report table at runtime with the following

YouReporttDocument.Database.Tables[0].SetDataSource(YourTable);

this way you can just get the invoices that you need to print
 
Back
Top