I've been working with crystal report but i never found an error like this until now. My crystal report works fine till Crystal Report Viewer. But error when I click Print Button..
My report When I See From Crystal Report Viewer
But Got This Error When I Print it
I Have History Form to show my list before open the Report.. Button to Open the report viewer is
Dim i As Integer = DataGridView1.CurrentRow.Index
Dim FormViewReport As New FormViewReport()
Dim rpt As CrystalDecisions.CrystalReports.Engine.ReportDocument
NoFaktur = DataGridView1.Item(0, i).Value
rpt = New FakturPartaiLama
rpt.SetParameterValue(0, NoFaktur)
FormViewReport.MdiParent = FormUtama 'Set the Parent Form of the Child window.
FormViewReport.Text = "Form View / Print Nota Partai '" & NoFaktur & "'"
FormViewReport.Show() 'Display the new form.
FormViewReport.CrystalReportViewer1.ReportSource = rpt
FormViewReport.CrystalReportViewer1.Refresh()
Me.Dispose()
What happens when you print your report with a pdf-printer instead of a physical printer. Does it work then? Maybe it's an issue with the font. How do you tell which database to use? Maybe it's not connecting.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.