Article View: borland.public.cppbuilder.database.ado
Article #4809beginner simple question
From: Shaun O'Mahony
Date: Mon, 01 Oct 2001 10:26
Date: Mon, 01 Oct 2001 10:26
18 lines
1801 bytes
1801 bytes
Hi, Although I've been programming in cpp builder for a good while, I have only just attempted to venture into database creation of which I am an absolute beginner. I have created a simple single tiered, local file based database holding details of a number of projects. What I need to do is query the database to give me a list of the names of all the different projects in it (held in Project field). I have done this using a simple SQL placing the results into a datasource however although can view the correct information in a DBGrid, I want to use it to create a number of different Tabs on a standard win TabControl i.e. a different tab created for each project in the database. My question being how do I get simple access to the different projects the query has returned me (eg. a vector of the results etc) Apologies if this is not relevant to this newsgroup don't know what ado stands for Many Thanks Shaun
Technical Details
Message-ID:
<3bb8449c_1@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnewsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,9dfd75a8f47f223b,start X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2001-10-01 03:38:07 PST Reply-To: "Shaun O'Mahony" <sdom100@york.ac.uk> From: "Shaun O'Mahony" <sdom100@york.ac.uk> Newsgroups: borland.public.cppbuilder.database.ado Subject: beginner simple question Date: Mon, 1 Oct 2001 11:26:05 +0100 Lines: 20 Organization: Student X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 NNTP-Posting-Host: 217.135.177.59 Message-ID: <3bb8449c_1@dnews> X-Trace: dnews 1001931932 217.135.177.59 (1 Oct 2001 03:25:32 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews