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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unable to Open Database error (connecting to SQL Server) 1

Status
Not open for further replies.

Trusts

Programmer
Feb 23, 2005
268
US
Hi all,

I have been trying to pass a string to the .Connect property of the Crystal OCX. The sytax I have been using is:

.Connect = "DSN=(local);UID=;PWD=;DSQ=HB_Tables"

This does not work. HB_Tables is the database name. The SQL Server is local on my dev machine. I cannot connect, I'v tried all variations on this connect string.

Any ideas!??

Thanks!
 
Thanks, I'll check out the documentation.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top