Here is the solution:
In the TDataBase Class there is the Property "LoginPrompt"
Following the description from the C++Builder Help:
Description
Use LoginPrompt to control the login method for remote database connections. If true, (the default), either the standard C++Builder Login dialog box opens when the application attempts to connect to a database, or the OnLogin event is called if one is provided for the application.
The standard Login dialog box prompts for a valid user name and password. If the entries provided by the user are not valid, the connection fails. Applications that provide an OnLogin event must make sure that the event provides these values to the server.
If an application sets LoginPrompt to false, then user name and password values must be supplied as USER NAME and PASSWORD parameters in the Params property.
Note: Storing hard-coded user name and password entries in the Params property or in code for an OnLogin event can compromise server security.
hnd
hasso55@yahoo.com