Gossamer Forum
Home : General : Databases and SQL :

Database connection dialog

Quote Reply
Database connection dialog
Im running an interbase DB on a machine with Windows 2000 server. To connect to the server the client must be logged in to the server with a u/n and pwrd that exists on the server. What is the best alternative to this method, maybe a login prompt from the server? If so any ideas on how to go about this? I would ideally like to connect without any prompt at all.
Im using Interbase 6.0 and C++ builder 6.0.

TIA
Kris
Quote Reply
Re: [Kris24] Database connection dialog In reply to
Hmm, if you want users to enter in a username/password/database name/database host, then you'll need a dialog box. If you want to connect automatically, then you'll need to store the username/password/database name/database host in either a config file or hard coded into the application.

Cheers,

Alex
--
Gossamer Threads Inc.