Article View: borland.public.delphi.database
Article #112TDatabase.DateSets[] and TDatabase.DataSetCount
From: Anthony Lowery
Date: Fri, 12 Sep 2003 10:24
Date: Fri, 12 Sep 2003 10:24
12 lines
1314 bytes
1314 bytes
When my application starts I want to loop through all of the TTables linked to my TDatabase component. The only way I have found to do this is by using the TDatabase.DataSetCount and TDatabase.DataSets[], however this only works with active datasets. I want to use this to 'open' my TTables (they are not active). How do I obtain a list of all TDataSets linked to my TDatabase? I do not want to obtain all tables in the database so TDatabase.GetTableNames is no good.
Technical Details
Message-ID:
<d7b6c994.0309120224.6472f61@posting.google.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 115d96,fcf8610037273657,start X-Google-Attributes: gid115d96,public X-Google-ArrivalTime: 2003-09-12 03:24:22 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail From: anthony.lowery@barwicksystems.co.uk (Anthony Lowery) Newsgroups: borland.public.delphi.database Subject: TDatabase.DateSets[] and TDatabase.DataSetCount Date: 12 Sep 2003 03:24:21 -0700 Organization: http://groups.google.com/ Lines: 12 Message-ID: <d7b6c994.0309120224.6472f61@posting.google.com> NNTP-Posting-Host: 81.130.58.67 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1063362262 27858 127.0.0.1 (12 Sep 2003 10:24:22 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 12 Sep 2003 10:24:22 GMT