|
I have an application with a bunch of crystal reports. Is it possible to dynamically create my report object from one of several reports?
Something like
Reports in the project: Report1.rpt Report2.rpt Report3.rpt Report4.rpt
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)
|