Crystal reports objects

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,278
Latest member
BuzzDefenderpro

Latest Threads

Top