It would help if you could tell us what you have tried already (not everyone is familiar with " Craig Berntson's code"), and also what doesn't work.
As a general rule, you need to set the control's ReportSource property to an object reference to the report. Then call the ViewReport method. Have you done that?
Mike
__________________________________
Mike Lewis (Edinburgh, Scotland)
But that doesn't explain the problem. If you were using a version which doesn't support COM, you wouldn't have been able to access the viewer control at all.
Mike
__________________________________
Mike Lewis (Edinburgh, Scotland)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.