BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Newby: ComboBox with Available DB's

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder Databases (SQL Servers)
View previous topic :: View next topic  
Author Message
s0036564
Guest





PostPosted: Mon Jul 26, 2004 2:38 pm    Post subject: Newby: ComboBox with Available DB's Reply with 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
Jayme Jeffman Filho
Guest





PostPosted: Mon Jul 26, 2004 10:03 pm    Post subject: Re: Newby: ComboBox with Available DB's Reply with 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...
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





PostPosted: Tue Jul 27, 2004 8:24 am    Post subject: Re: Newby: ComboBox with Available DB's Reply with quote



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





PostPosted: Tue Jul 27, 2004 8:36 am    Post subject: Re: Newby: ComboBox with Available DB's Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder Databases (SQL Servers) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.