Hi all

I'm trying to access a SQL Server 7 database via a TDatabase component. The
database is set up for mixed security but I want users to access the
database for this application using trusted connections.

The database open command fails with invalid user name and password.
I've tried this successfully in the past with SQL Server 6.5 by putting a
single space user name and no password in the parameter string. 
However SQL Server 7 checks for a space as the username and fails.

Putting in a blank user name causes the app to return a user name of MYNAME
and fail.
Putting in the trusted username and password also fails.

Is there any way of forcing the application to open the database under a
trusted connection?

Any help appreciated.
Phil Gnad
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to