'server has not yet been opened' error :RESOLVED
Hi,
I'm trying to open a form with the report viewer control on it to view a report.
The report data is set using the SetDataSource method:
rptCourses.Database.SetDataSource rst, 3
The report's viewing form Load event is:
CRViewer1.ReportSource = rptCourses
CRViewer1.ViewReport
I get a 'server has not yet been opened' error when trying to execute the 'CRViewer1.ViewReport' statement.
I have another report in the same project (not using SetDataSource) that runs just fine, and a report on another project that does use SetDataSource that uses more or less the same code and runs fine.
I'm using VB6 and CR 8.5 on winXP machine
Any ideas? Help would be appreciated.
thanx