Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access VBA
|
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 6th, 2005, 10:47 PM
Registered User
 
Join Date: Jun 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default how to solve "server has not yet been opened" Err

 hello everybody,
i uses access MDB file to print data in crystal report,
i have created one .rpt file in crystal report 8.5 and i am calling it from Visual Basic, my Database is in Access. now i am getting error that

"Server has not yet been opened"

my code is like this:

Option Explicit
Dim crReport As New CRAXDRT.Report
Dim crApp As New CRAXDRT.Application

Private Sub Form_Load()
Set crReport = crApp.OpenReport(mReportFileName)
crReport.Database.Tables(1).Location = App.Path & "\aia.mdb"
crViewer.ReportSource = crReport
crViewer.ViewReport
crApp.CanClose
End Sub


is this way is proper? or whats the problem with the report?
please guide me for this, its urgent






Similar Threads
Thread Thread Starter Forum Replies Last Post
Server has not yet been opened Fernando Cisternas Crystal Reports 0 January 13th, 2006 05:12 PM
how to solve "server has not yet been opened" Err jigneshsoni Crystal Reports 0 June 6th, 2005 10:43 PM
How 2 Solve ActivexComponents err amar Pro VB 6 2 December 10th, 2003 05:29 AM
Server not yet opened sathishraj Crystal Reports 1 October 15th, 2003 08:33 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.