🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

AutoInc field in MS Access database

#3427
From: Ace
Date: Mon, 19 Aug 2002 17:37
12 lines
1427 bytes
I have a TDataModule with a TTable object on it. The TTable object has a
field that is type ftAutoInc. The database is an MS Access database
connected via ODBC. When I call the CreateTable() function from the TTable
object the AutoInc field is created as a Number. If I open the table in
design mode, I can select AutoNumber from the list of field types.

Anyone have any ideas as how to programmatically specify a field as type
AutoNumber?

Thanks,

Ace
Technical Details
Message-ID: <3d612cb8@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-04!supernews.com!newshosting.com!news-xfer2.atl.newshosting.com!news.stealth.net!news.stealth.net!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,67280469d42ab601,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2002-08-19 10:42:33 PST
Reply-To: "Ace" <ace@hamptonsys.com>
From: "Ace" <ace@hamptonsys.com>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: AutoInc field in MS Access database
Date: Mon, 19 Aug 2002 13:37:48 -0400
Lines: 15
Organization: Hampton Systems Group, Inc.
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: 216.224.43.166
Message-ID: <3d612cb8@dnews>
X-Trace: dnews 1029778616 216.224.43.166 (19 Aug 2002 10:36:56 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-04!supernews.com!newshosting.com!news-xfer2.atl.newshosting.com!news.stealth.net!news.stealth.net!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews!not-for-mail