Hi everybody,
I created more than one report and I created only one form which holds CRViewer. But In the declaration section the variable can be assigned to one report at a time. How to assign more than one report to this variable?
Dim Report As New Rpt_ChartOfAc
Private Sub Form_Load()
Screen.MousePointer = vbHourglass
CRViewer1.ReportSource = Report
CRViewer1.ViewReport
Screen.MousePointer = vbDefault
End Sub
I want to use the variable 'Report' for multiple reports. How is it possible?
Thanks in advance.
I created more than one report and I created only one form which holds CRViewer. But In the declaration section the variable can be assigned to one report at a time. How to assign more than one report to this variable?
Dim Report As New Rpt_ChartOfAc
Private Sub Form_Load()
Screen.MousePointer = vbHourglass
CRViewer1.ReportSource = Report
CRViewer1.ViewReport
Screen.MousePointer = vbDefault
End Sub
I want to use the variable 'Report' for multiple reports. How is it possible?
Thanks in advance.