hello,
i have a lot of access reports
that i need to migrate to crystal
and have them display in vb6.
the reports have been redesigned in
crystal, but I don't know how to
display them in vb6 efficiently.
Meaning, the code below is good to show
one report, but what if I have so many
of them need to be displayed, to copy and
pasted this code below over and over
again for 200 reports
does not sound efficient to me.
Is there a better way to show crystal report
in vb? if menu does not work, would list box
works?
see, the code below is for each click on each
report I list on the menu.
Private Sub mnuReport1_Click()
Set mCrystal = New CRAXDRT.Application
Set mReport = mCrystal.OpenReport("H:\report1.rpt")
CRViewer1.ReportSource = mReport
CRViewer1.ViewReport
Set mCrystal = Nothing
Set mReport = Nothing
End Sub
thanks so much if you have any input.
i have a lot of access reports
that i need to migrate to crystal
and have them display in vb6.
the reports have been redesigned in
crystal, but I don't know how to
display them in vb6 efficiently.
Meaning, the code below is good to show
one report, but what if I have so many
of them need to be displayed, to copy and
pasted this code below over and over
again for 200 reports
does not sound efficient to me.
Is there a better way to show crystal report
in vb? if menu does not work, would list box
works?
see, the code below is for each click on each
report I list on the menu.
Private Sub mnuReport1_Click()
Set mCrystal = New CRAXDRT.Application
Set mReport = mCrystal.OpenReport("H:\report1.rpt")
CRViewer1.ReportSource = mReport
CRViewer1.ViewReport
Set mCrystal = Nothing
Set mReport = Nothing
End Sub
thanks so much if you have any input.