Article View: borland.public.cppbuilder.database.ado
Article #531Getting info from a database
From: danid
Date: Tue, 13 Sep 2005 08:53
Date: Tue, 13 Sep 2005 08:53
8 lines
1188 bytes
1188 bytes
Hello, I am using TADOQuery to retreive the table names (GetTableNames())and field names (GetFieldNames())of a table in a database. How can I get a list of the foreign keys in a table, and to which table they belong (parent, child)? I am using BCB6 with an MS Access database. Thanks a lot,
Technical Details
Message-ID:
<43269385$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!feeder.xsnews.nl!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10698b,4ef357b08045f73,start X-Google-Attributes: gid10698b,public X-Google-Language: ENGLISH,ASCII-7-bit From: "danid" <danid@nospam.com> Sender: "danid" <danid@nospam.com> Reply-To: "danid" <danid@nospam.com> Subject: Getting info from a database Newsgroups: borland.public.cppbuilder.database.ado X-User-Info: 193.173.66.209 X-Forwarded-For: 172.21.155.55, 172.21.0.161 NNTP-Posting-Host: 207.105.83.66 Message-ID: <43269385$1@newsgroups.borland.com> Date: 13 Sep 2005 01:53:25 -0700 X-Trace: newsgroups.borland.com 1126601605 207.105.83.66 (13 Sep 2005 01:53:25 -0700) Lines: 8 Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!feeder.xsnews.nl!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail