VB 6.0 - Pass report name in a variable - Asked By firoz poil on 05-May-13 09:53 AM

What is the error in the following code
Dim mrepo As DataReport
Set mrepo = DataReport1
mrepo.Show