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

I've one crystal report. I want to update some fields of my table after printing the report. I'm using the print option of reportviewer. Is there any such events that called after printing of report? If not is there any way to print the report without usin tollbar? like using print button:suss::suss:
Posted

1 solution

jisha Johnson wrote:
any way to print the report without usin tollbar?


Yes. You can call the report print in your custom print event and then after the print call you can use the database update call.

Have a look at this of how to call report print:
How to Print a Crystal Report Programmatically [^]
 
Share this answer
 
Comments
jisha Johnson 17-Jun-10 1:02am    
Bt its not possible to select the printer from a dialogue box. We have to set a printer defaultly. Is there any event occure when I click on the print button of toolbox?

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