🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Determining which fields is the primary Key at runtime

#2217
From: Daniel
Date: Thu, 16 Oct 2003 23:03
5 lines
1166 bytes
Can anyone help me to determine which fields within a Table is the Primary
Key either by making a SQL call or by interrogating a TTable or TADOTable
which is connected to a Microsft Access database at RUNTIME.

Thanks.
Technical Details
Message-ID: <3f8f23c7$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,3b0725d3a55d7aa1,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2003-10-16 16:09:36 PST
From: "Daniel" <admin@netcomm.com>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Determining which fields is the primary Key at runtime
Date: Fri, 17 Oct 2003 09:03:35 +1000
Lines: 7
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 202.174.228.150
Message-ID: <3f8f23c7$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1066345415 202.174.228.150 (16 Oct 2003 16:03:35 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail