Results 1 to 3 of 3

Thread: 'server has not yet been opened' error :RESOLVED

Threaded View

  1. #1

    Thread Starter
    Member
    Join Date
    Jan 2002
    Location
    Somewhere in war torn Israel
    Posts
    51

    '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
  •  



Click Here to Expand Forum to Full Width