主题:报表
在窗体中有 CrystalReportViewer1、ComboBox1我想实现改变ComboBox1.text的值报表值也随之改变:
我用下面的代码实现,可是完成不了功能,只是全部显示,不改变
With Me.CrystalReportViewer1
.SelectionFormula = "{chengji.xuehao}='" & Me.ComboBox1.SelectedItem(0) & "'"
.RefreshReport()
End With
帮帮忙,多谢[em8]
我用下面的代码实现,可是完成不了功能,只是全部显示,不改变
With Me.CrystalReportViewer1
.SelectionFormula = "{chengji.xuehao}='" & Me.ComboBox1.SelectedItem(0) & "'"
.RefreshReport()
End With
帮帮忙,多谢[em8]