🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

How do i create a .mdb file

#3134
From: Phil Towers
Date: Thu, 14 Nov 2002 22:59
11 lines
1489 bytes
I need my program to be able to create a database from scratch.
If I understand correctly I can create tables using SQL but how do I create
the database to add them to. My searching of the web so far has come up with
a Delphi example using an ADOX thing called a Catalog which has a Create()
procedure, I tried importing Multidimensional Activex Data Objects library
which lists a TCatalog but I was unable to mimic the Delphi method because
TCatalog does not appear to have a Create() member function.
Can anyone show me a code snippet of how create the database.

TIA
Phil.
Technical Details
Message-ID: <3dd42aa7@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-05!sn-xit-06!sn-xit-04!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,f9436a8943db1d6f,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2002-11-14 15:16:05 PST
From: "Phil Towers" <pistonbroke@ntlworld.com>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: How do i create a .mdb file
Date: Thu, 14 Nov 2002 22:59:51 -0000
Lines: 14
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 81.96.119.159
Message-ID: <3dd42aa7@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1037314727 81.96.119.159 (14 Nov 2002 14:58:47 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-05!sn-xit-06!sn-xit-04!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!newsgroups.borland.com!not-for-mail