Board index » delphi » HELP: TDatabase.Parms won't accept USERNAME,PASSWORD
ske...@interramp.com (Sean Kelly)
![]() Delphi Developer |
Sat, 03 Oct 1998 03:00:00 GMT
HELP: TDatabase.Parms won't accept USERNAME,PASSWORD
I need to have a Delphi 2.0 c/s app connect to an mssql database using bde,
but it has to be able to connect automatically. I checked the docs and created a TDatabase component for the database, set for the correct alias and DB name. I set the LoginPrompt to False, so it doesn't ask for a login prompt. Now, it says: Quote>If False, then an application will look for login parameters in the Params or try to set the Connected property to True on the TDatabase componene I get the following error: Quote>Unknown username or password. Login failed. Login Incorrect. Alias: a login prompt I connect just fine. There must either be something the docs forgot to mention, or I'm going to have to write this app a different way. -Sean |