Article View: borland.public.cppbuilder.database.multi-tier
Article #1222Find Database in Directory
From: Brian Phillips
Date: Thu, 06 Apr 2000 00:00
Date: Thu, 06 Apr 2000 00:00
15 lines
1154 bytes
1154 bytes
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:
<38ED19C9.539D@csc.sctboces.org>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcd2b,4b589a27a3623b4,start X-Google-Attributes: gidfcd2b,public From: Brian Phillips <bphillip@csc.sctboces.org> Subject: Find Database in Directory Date: 2000/04/06 Message-ID: <38ED19C9.539D@csc.sctboces.org> X-Deja-AN: 607700470 Content-Transfer-Encoding: 7bit X-Trace: 6 Apr 2000 13:06:06 -0800, 204.249.116.67 Organization: SCT BOCES Content-Type: text/plain; charset=us-ascii MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.database.multi-tier