Click to See Complete Forum and Search --> : [RESOLVED] Is the user click on print button (CR) ?
DubweiserTM
Mar 24th, 2006, 10:23 AM
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 !
brucevde
Mar 24th, 2006, 01:51 PM
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.
DubweiserTM
Mar 24th, 2006, 02:17 PM
By preview window do you mean the CRViewer Control ? No ! It's the preview window when I call my report (CRpt1.PrintReport)
brucevde
Mar 24th, 2006, 04:32 PM
What version of Crystal are you using and what type of control is CRpt1?
DubweiserTM
Mar 27th, 2006, 07:17 AM
What version of Crystal are you using and what type of control is CRpt1? Version 8.5 and it's Crystal Report control...
brucevde
Mar 27th, 2006, 09:58 AM
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.
DubweiserTM
Mar 27th, 2006, 10:00 AM
...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"...
brucevde
Mar 27th, 2006, 10:09 AM
I have lots of experience with version 8.5, so if you need any help...
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.