I have an application with a bunch of crystal reports. Is it possible to dynamically create my report object from one of several reports?
Reports in the project:
Usually, I do this:
Dim rptTest As Report1
rptTest = New Report1
But, can I do something like this?
dim strReport as string = "Report3" 'or retrieved from the database, etc.
dim rptTest as (something determined by the value of strReport)
rptTest = New (that thing determined by the value of strReport)