I have 2 sub-reports. When a user decides to print from Preview I want the first sub-report to Print but the second one to go to PDF. Is this possible? Thanks
There is no automatic way to export a single subreport to file while printing another section of the report to paper. I believe the best option would be to do this with two separate print jobs.
1. You will first need to take control over the print button in the Preview window when it is selected. This could also be done by replacing the PrintDialog as well.
2. Then you can print the report twice (one time with the second subreport hidden and one time with the first subreport hidden) switching the device type for each print.
Comments
There is no automatic way to export a single subreport to file while
printing another section of the report to paper. I believe the best option
would be to do this with two separate print jobs.
1. You will first need to take control over the print button in the Preview
window when it is selected. This could also be done by replacing the
PrintDialog as well.
2. Then you can print the report twice (one time with the second subreport
hidden and one time with the first subreport hidden) switching the device
type for each print.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com