Board index » cppbuilder » Newby: ComboBox with Available DB's
s0036564
CBuilder Developer |
s0036564
CBuilder Developer |
Newby: ComboBox with Available DB's2004-07-26 10:38:03 PM cppbuilder110 I am quiet new with Borland C++ Builder. I am struggling to get the available DatabaseName-s (those you can see under the TTable properties) in a combo-box. The thing I want to do is @runtime deciding which DB to take. Beside that I also have to give in the login and password. Someone to give me some hints? Thanks, Klaas Engels |
Jayme Jeffman Filho
CBuilder Developer |
2004-07-27 06:03:35 AM
Re:Newby: ComboBox with Available DB's
Hello Klaas,
The TSession::GetDatabaseNames retrieves all persistent databases configured on the local BDE. You may have other databases which have not been configured on the BDE. So it is a good idea provide a way to select the database by selecting files or directories too. HTH Jayme. "s0036564" < XXXX@XXXXX.COM >escreveu na mensagem QuoteI am quiet new with Borland C++ Builder. |
s0036564
CBuilder Developer |
2004-07-27 04:24:42 PM
Re:Newby: ComboBox with Available DB's
I am going to try this out rightaway. Thanks already.
Klaas "Jayme Jeffman Filho" < XXXX@XXXXX.COM >wrote in message QuoteHello Klaas, {smallsort} |
s0036564
CBuilder Developer |
2004-07-27 04:36:24 PM
Re:Newby: ComboBox with Available DB's
This works!!! Great... I am going to read something more about Borland
Database Engine. Seems to be helpful. K "Jayme Jeffman Filho" < XXXX@XXXXX.COM >wrote in message QuoteHello Klaas, |