|
-
Jun 7th, 2009, 02:30 PM
#1
Thread Starter
New Member
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|