LordOfCode
Programmer
Currentrly I am programming a TDataAccessor class for an SQL Server 2000 database usin Borland C++ Builder Enterprise Edition (v6.0).
I am using TDatabase class in the DBTables.hpp. In order to connect to the database I am using ODBC, however, I do not want to use a trusted connection (Windows Authentication).
this is part of my code
Code:
database->loginPrompt = false;
database->Params->add("uid=sa");
database->Params->add("pwd=development");
database->AliasName="SecurityODBC";
database->DatabaseName="Security";
database->Exclusive = false;
database->KeepConnection = true;
database->ReadOnly = false;}
database->Connected = true;
Nevertheless, I receive an error of this code. It says the user is not associated with trusted connection.
Any help? Any Idea?.
edalorzo@hotmail.com