Visual studio Crystal Report使用Visual Studio打印空白页

Visual studio Crystal Report使用Visual Studio打印空白页,visual-studio,crystal-reports,Visual Studio,Crystal Reports,我一直在使用crystal report,但直到现在我才发现这样的错误。在crystal report Viewer之前,我的crystal report工作正常。但单击“打印”按钮时出错 在打开报告之前,我有一张历史记录表来显示我的列表。。 打开报表查看器的按钮是 Dim i As Integer = DataGridView1.CurrentRow.Index Dim FormViewReport As New FormViewReport() Dim rpt As

我一直在使用crystal report,但直到现在我才发现这样的错误。在crystal report Viewer之前,我的crystal report工作正常。但单击“打印”按钮时出错

在打开报告之前,我有一张历史记录表来显示我的列表。。 打开报表查看器的按钮是

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()

使用pdf打印机而不是物理打印机打印报告时会发生什么情况。这样行吗?也许是字体的问题。
如何判断使用哪个数据库?可能它没有连接。

查看数据库关系图中的连接(来自数据库专家)。检查联接类型是否为左联接而不是内联接。如果使用内部联接,则所有记录都必须存在,否则将显示一个空白页。pdf工作正常,没有错误。。数据库已连接。我使用默认配置。。只需将纸张大小更改为字母扇形即可。我用的是爱普生LX310。。