
Server has not yet been opened (Urgent)
Hi,
I'm using Crystal Report 8.5 and Crviewer control for
displaying the report in Visual Basic,Sql server 2000
personal on the back end.
I'm using the following code for displaying the report.
'/////////////////////////////Code
Dim tbl As CRAXDRT.DatabaseTable
Dim report as new myReport
For Each tbl In Report.Database.Tables
tbl.SetLogOnInfo DBServer, DBDataBase, DBUser, DBPassword
Next
Report.Database.LogOnServer "PDSSQL", DBServer,_
DBDatabase, DBUser, DBPassword
CRViewer.ReportSource = Report
'///////////End of Code.
I have used this code to logon to any server it worked
fine. But Now it gives an error 'Server has not yet opened'
I there any other way to view the report that should work.
thanks in advance
jawahir