Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report name as variable?
Message
General information
Forum:
ASP.NET
Category:
Reporting
Title:
Report name as variable?
Miscellaneous
Thread ID:
00916127
Message ID:
00916127
Views:
43
Can I use a variable to instantiate a report?

Like

dim myreportname as string
Dim orpt As CrystalDecisions.CrystalReports.Engine.ReportDocument

myreportname = "myreport1"
orpt = New myreportname

This does not work. Is there a way??

Jeff

It's Time to get a gun.

That's what I've been thinkin.

I think I can afford one, If I do a little less Drinkin.

www.TrueGeeks.com
Next
Reply
Map
View

Click here to load this message in the networking platform