🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #546

ADO Create Access DB, BCB6

#546
From: poojo hackma
Date: Fri, 11 Nov 2005 16:32
8 lines
1375 bytes
In my BCB6 project, I use an Access database, but I don't want to be forced 
to include an empty Access db file with each PC that will run my executable. 
(or, what if some goofball deletes the database on his PC?)

What I need is a method to check if there is an Access DB present.  If not, 
create the file, open it, and create the tables.

Is this possible?  Could someone show me a few basic steps with this? 
Technical Details
Message-ID: <4374c751$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,fd44f1fbb79ff20c,start
X-Google-Attributes: gid10698b,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "poojo hackma" <poojo.com/mail>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: ADO Create Access DB, BCB6
Date: Fri, 11 Nov 2005 10:32:35 -0600
Lines: 10
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
X-RFC2646: Format=Flowed; Original
X-Antivirus: avast! (VPS 0545-2, 11/11/2005), Outbound message
X-Antivirus-Status: Clean
NNTP-Posting-Host: 12.45.133.147
Message-ID: <4374c751$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1131726673 12.45.133.147 (11 Nov 2005 08:31:13 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail