Article View: borland.public.cppbuilder.database.multi-tier
Article #1223Re: Find Database in Directory
From: Kim Hellan
Date: Fri, 07 Apr 2000 00:00
Date: Fri, 07 Apr 2000 00:00
26 lines
1577 bytes
1577 bytes
I'm not sure what you are trying to do...... Why are you operating on directories and not aliases? I assume that you are using BDE and aliases? Are you trying to connect to a database or open a table? What database are we talking about (Paradox, MS Access)? Kim Hellan "Brian Phillips" <bphillip@csc.sctboces.org> wrote in message news:38ED19C9.539D@csc.sctboces.org... > Here is what I want to do : > > String tempDBFname; > tempDBFname = User input database name; > if ( tempDBFname = is in the current working directory ) > open exsisting database; > else > open new database called tempDBFname; > > I can't seem to get the code right for finding out if the 'tempDBFname' > in in the current working directory. I have been trying to get the > libary function 'FindDatabase(DatabaseName)'. I was able to complile > but no matter what my input I aways recieved the same results. For > anyone could show me a working example or put me on a track that lead to > another answer I thank you now!!!
Technical Details
Message-ID:
<8ck1ei$8ja3@bornews.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<38ED19C9.539D@csc.sctboces.org>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcd2b,4b589a27a3623b4 X-Google-Attributes: gidfcd2b,public From: "Kim Hellan" <khe@dksign.dk> Subject: Re: Find Database in Directory Date: 2000/04/07 Message-ID: <8ck1ei$8ja3@bornews.borland.com> X-Deja-AN: 607897124 References: <38ED19C9.539D@csc.sctboces.org> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Organization: Another Netscape Collabra Server User X-MSMail-Priority: Normal Newsgroups: borland.public.cppbuilder.database.multi-tier