problem with SQLConnect

forum.advanced.programming (1998-2005)

problem with SQLConnect

Post by Kaimal » 20 Apr 2005, 08:25

 Posted by: (Kaimal) 

I am using SQLConnect to connect to a DSN which has non empty
UserId and Password.
The problem is that connection to database is success even when the
UserId is empty. The connection fails when the UserId is non empty and

The reason for this is that when UserId is empty, it tries to
connect with default Login and Password for windows.

Is there any way to avoid this?
Can we use SQLSetConnectAttr in some way?

Any help would be appreciated


Return to “advanced.programming”

Who is online

Users browsing this forum: [Ccbot] and 0 guests