Subreport printing in Crystal Reports .NET 2005
Hi,
I have just developed a project in Visual Basic .NET and I have placed a Crystal Report Viewer control on the form.
On my form I have a new button called 'Print' which contains the following code
mReportDocument.PrintToPrinter(...)
When my viewer control shows the main report - after clicking the 'Print' button - it prints fine.
But when I drill down into a subreport contained in the main report then press the 'Print' button - the main report prints out - which is WRONG - as I want the report I am currently viewing printing out.
Could you please help me tell me the code on how to print this subreport.
Kind Regards
pryeshg