Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cannot Open SQL Server Error No :20599

Status
Not open for further replies.

nateshk

Programmer
Jan 16, 2001
49
HK
Hi,

Iam using Crystal Report Active X Control for displaying my report. Within VB iam trying to connect to a new database.

But it is unable to do so giving error "Cannot Open SQL Server Error No :20599"

Hope somebody can help me.

Thanx
Natesh

Code :

With crxReport
.ReportFileName = App.Path & "\X.rpt"
.LogOnServer "p2ssql.dll", strServerName, strDatabase, strUID, strPwd

.Action = 1
End With
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top