|
-
May 14th, 2003, 04:54 AM
#1
Thread Starter
Member
'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
Last edited by Shafan; May 17th, 2003 at 11:41 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|