A
Andreas Schubert
Hello newsgroup,
I know that I can create a new instance of a report by
Dim myReport as new Report1
My goal is - as I have more than one report - to write a form containing a
Webviewer and then binding the right reportobject to this viewer.
Something like;
Dim myReport as CrystalReport
if loadFirstReport then
myReport = new Report1
ELSE
myReport = new Report2
end if
But there doesn't exist a type CrystalReport. How do I have to declare
myReport ?
Thanks in advance
Andreas
I know that I can create a new instance of a report by
Dim myReport as new Report1
My goal is - as I have more than one report - to write a form containing a
Webviewer and then binding the right reportobject to this viewer.
Something like;
Dim myReport as CrystalReport
if loadFirstReport then
myReport = new Report1
ELSE
myReport = new Report2
end if
But there doesn't exist a type CrystalReport. How do I have to declare
myReport ?
Thanks in advance
Andreas