|
-
Mar 24th, 2006, 11:23 AM
#1
Thread Starter
Hyperactive Member
[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 !
DubweiserTM

If your question has been answered, you can mark a thread as resolved...
-
Mar 24th, 2006, 02:51 PM
#2
Re: 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 ???
By preview window do you mean the CRViewer Control? If yes, then clicking the print button in this window will raise the PrintButtonClicked event.
-
Mar 24th, 2006, 03:17 PM
#3
Thread Starter
Hyperactive Member
Re: Is the user click on print button (CR) ?
 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)
DubweiserTM

If your question has been answered, you can mark a thread as resolved...
-
Mar 24th, 2006, 05:32 PM
#4
Re: Is the user click on print button (CR) ?
What version of Crystal are you using and what type of control is CRpt1?
-
Mar 27th, 2006, 08:17 AM
#5
Thread Starter
Hyperactive Member
Re: Is the user click on print button (CR) ?
 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...
DubweiserTM

If your question has been answered, you can mark a thread as resolved...
-
Mar 27th, 2006, 10:58 AM
#6
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.
-
Mar 27th, 2006, 11:00 AM
#7
Thread Starter
Hyperactive Member
Re: Is the user click on print button (CR) ?
 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"...
DubweiserTM

If your question has been answered, you can mark a thread as resolved...
-
Mar 27th, 2006, 11:09 AM
#8
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...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|