|
-
Aug 7th, 2008, 03:48 AM
#1
Thread Starter
Lively Member
I have a problem is "THE crystal report Cannot Printing"
THE crystal report Cannot Printing
Plz Can any professional one help me in an complex unlogical Problem in Crystel Report
My Problem is I just developed a Big Project and in reports
I used a "Crystal Reports 10 Developer Edition"
My Code is
Code:
Set Report = ReportFile.OpenReport(App.Path & "\Report1.rpt")
Set Rs = New ADODB.Recordset
Conn.Execute ("Drop View View")
Conn.Execute ("Create View CustomerRecievableAll AS Select .....")
Rs.Open "SELECT * from CustomerRecievableAll "
Report.Database.SetDataSource Rs
Report.Sections.Item(1).AddPictureObject PicPhoto & "\LOGO.jpg", 320, 100
ReportForm.CrystalActiveXReportViewer1.ReportSource = Report
ReportForm.CrystalActiveXReportViewer1.ViewReport
ReportForm.CrystalActiveXReportViewer1.Zoom 1
ReportForm.Show 1
And the Report is display successfully
But When we go to click in the Print Button
no thing is happened
and knowing that
the Printer is working successfully
and the Printer is the Defult Printer
Plz any one help me
-
Aug 7th, 2008, 09:18 PM
#2
Re: I have a problem is "THE crystal report Cannot Printing"
Try the next code :
CRViewer1 = the Crystal Reports Viewer Control
Code:
Private Sub CRViewer1_PrintButtonClicked(UseDefault As Boolean)
CRViewer1.PrintReport
End Sub
-
Aug 14th, 2008, 03:58 AM
#3
Thread Starter
Lively Member
Re: I have a problem is "THE crystal report Cannot Printing"
Mr jggtz
this Code Will call the Print dialog
My Proplem wase happened when i click on the Ok Button on the Print dialog
like this

Plz any one help me
-
Aug 15th, 2008, 09:29 AM
#4
Re: I have a problem is "THE crystal report Cannot Printing"
Does this happen on all reports, or just this one?
-
Aug 17th, 2008, 03:44 AM
#5
Thread Starter
Lively Member
Re: I have a problem is "THE crystal report Cannot Printing"
Thank you for your interest in Mr Hack
But
This problem appears in some reports and others are running normally
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
|