[RESOLVED] Is the user click on print button (CR) ?
Is it possible to know if the user click on print button in Crystal Reports preview window ???
I have to know this because if the user print his formular, my application have to save the reference number to a database...I have to save this number only if a formular is printed...
I cant send it directly to printer because we use NCR Paper (Carbonless paper) and this kind of paper is very expansive...
I hope to have been clear with my explanations...
Thanks in advance !
Have a nice week-end everybody !
Re: Is the user click on print button (CR) ?
Quote:
Is it possible to know if the user click on print button in Crystal Reports preview window ???
By preview window do you mean the CRViewer Control? If yes, then clicking the print button in this window will raise the PrintButtonClicked event.
Re: Is the user click on print button (CR) ?
Quote:
Originally Posted by brucevde
By preview window do you mean the CRViewer Control ?
No ! It's the preview window when I call my report (CRpt1.PrintReport)
Re: Is the user click on print button (CR) ?
What version of Crystal are you using and what type of control is CRpt1?
Re: Is the user click on print button (CR) ?
Quote:
Originally Posted by brucevde
What version of Crystal are you using and what type of control is CRpt1?
Version 8.5 and it's Crystal Report control...
Re: Is the user click on print button (CR) ?
Since version 8.0, the Crystal Report OCX is included for backward compatibility. I would recommend that you use the Crystal Report Viewer Control and the Crystal Report ActiveX Runtime Library.
As far as I know, but it has been a long time since I used the OCX, the OCX does not fire any events. The CR Viewer however has lots of events, like the PrintButtonClicked event.
Re: Is the user click on print button (CR) ?
Quote:
Originally Posted by brucevde
...I would recommend that you use the Crystal Report Viewer Control and the Crystal Report ActiveX Runtime Library...
Thanks for your help ! Now I will learn "How to use Crystal Report Viewer"...
Re: [RESOLVED] Is the user click on print button (CR) ?
I have lots of experience with version 8.5, so if you need any help...