Click here to Skip to main content
15,886,087 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Guys,

I need a small help in printing crystal reports directly after filtering it with selection formula. i have a done crystal reports using DSN connection and wish to print it without showing the reportviewer form. i used rpt.PrintToPrinter(1,false,1,1) but by using that whole data in db gets printed.When i use crystalReportViewer1.PrintReport() no data is coming in report. how can i print automatically the filtered data with selection formula(i want to print a bill in the sales form with ref to one invoice no).



Thanks in advance



MIdhun
Posted

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