Click here to Skip to main content
14,739,205 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello To All
I have crystal report have sub reports
the problem : when i print the main report by using print to printer the printer print the main report and the sub report i need print only main report without the sub reports
Posted

By definition, whatever is showing on the report will be printed.

If you only want the main report, copy your existing report and remove the sub-reports (from the copy)... call it something like "REPORTNAME-MainReportOnly" and provide a link to print that in your program.
   
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900