| View previous topic :: View next topic |
| Author |
Message |
s0036564 Guest
|
Posted: Mon Jul 26, 2004 2:38 pm Post subject: Newby: ComboBox with Available DB's |
|
|
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
|
|
| Back to top |
|
 |
Jayme Jeffman Filho Guest
|
Posted: Mon Jul 26, 2004 10:03 pm Post subject: 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" <Klaas_Engels (AT) hotmail (DOT) com> escreveu na mensagem
news:4105174c (AT) newsgroups (DOT) borland.com...
| Quote: | 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
|
|
|
| Back to top |
|
 |
s0036564 Guest
|
Posted: Tue Jul 27, 2004 8:24 am Post subject: Re: Newby: ComboBox with Available DB's |
|
|
I am going to try this out rightaway. Thanks already.
Klaas
"Jayme Jeffman Filho" <jaymenosp (AT) jeffman (DOT) eng.br> wrote
| Quote: | 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" <Klaas_Engels (AT) hotmail (DOT) com> escreveu na mensagem
news:4105174c (AT) newsgroups (DOT) borland.com...
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
|
|
|
| Back to top |
|
 |
s0036564 Guest
|
Posted: Tue Jul 27, 2004 8:36 am Post subject: 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" <jaymenosp (AT) jeffman (DOT) eng.br> wrote
| Quote: | 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" <Klaas_Engels (AT) hotmail (DOT) com> escreveu na mensagem
news:4105174c (AT) newsgroups (DOT) borland.com...
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
|
|
|
| Back to top |
|
 |
|