Problem with SQLConnect

forum.advanced.programming (1998-2005)
Kaimal

Problem with SQLConnect

Post by Kaimal » 20 Apr 2005, 08:25

 Posted by:  rbka...@hotmail.com (Kaimal) 

Hi,
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
invalid.

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

Thanks
Kaimal

Return to “advanced.programming”

Who is online

Users browsing this forum: [Ccbot] and 1 guest