Article View: borland.public.cppbuilder.database.multi-tier
Article #1549Re: BDE on Oracle question
From: Jeff Overcash (TeamB)
Date: Tue, 28 Sep 1999 00:00
Date: Tue, 28 Sep 1999 00:00
44 lines
2055 bytes
2055 bytes
If you intend to use the TDatabase component, just have the user input the
server name (Oracle SQL Net alias), user name and password and add the three
params to the TDatabase Params property. Something like
Database1->Params.Clear();
Database1->Params->Add("Server Name=" + SeverName);
Database1->Params->Add("User Name=" + UserName);
Database1->Params->Add("Password=" + Password);
Database1->Connected = true;
Please turn off the HTML posting on your newsreader. This goes against
newsgroup guidelines. Thnak you.
> Yunki Paik wrote:
>
> My application has to check the connectivity from the host PC to several
> Oracle
> instances on various machines.
> I plan to use TDatabase object for the job.
>
> What I am wondering is: since we don't know the database information during
> application installation, I will have to configure the BDE during runtime.
> i.e.,
> enter alias name and others.
>
> Can some one advise me on the technique?
> My guess is that BDE config file is kept in a text file. Or, is it in a
> registry?
>
> Thank you so much!
>
> /yunki
>
--
Jeff Overcash (TeamB)
(Please do not email me directly unless asked. Thank You)
Mild mannered supermen are held in kryptonite, and the wise and foolish
virgins giggle with their bodies glowing bright. Through the door a harvest
feast is lit by candlelight; it's the bottom of the staircase that spirals out
of sight.
(new classic Genesis) Carpet Crawlers 1999
--
Technical Details
Message-ID:
<37F15A8B.41C6A2DD@onramp.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7srgo1$b0r12@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcd2b,7ec35cb39e6328d4 X-Google-Attributes: gidfcd2b,public From: "Jeff Overcash (TeamB)" <overcash@onramp.net> Subject: Re: BDE on Oracle question Date: 1999/09/28 Message-ID: <37F15A8B.41C6A2DD@onramp.net> X-Deja-AN: 530510108 Content-Transfer-Encoding: 7bit References: <7srgo1$b0r12@forums.borland.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: TeamB Mime-Version: 1.0 Newsgroups: borland.public.cppbuilder.database.multi-tier