🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Information on accessing the active records and Sorting a DBGrid

#2234
From: Jim McBride
Date: Mon, 08 Sep 2003 21:17
23 lines
2137 bytes
I have been writing small builder applications for several years.  However,
these applications have not involve a database interface.  I now have an
application that requires a larger amount of data than can be handled in
memory an small data files.  I have chosen to use an Access database(or SQL
if needed) and ADO to organize the data files for retreival and processing.
I have gotten the ADO connection working through the ODBC and the ADO
components in BCB6.  I need to get some information on retreiving active
records and sorting the DBGrid to locate the desired data for processing.
In addition, I need to have the user select data files names to be added to
the database table.  Does anyone know of a good tutorial on the actual data
interface after the connection is made?  I have read about using an SQL
Query for ordering and have been considering using a hidden DBEdit to access
the data.  Is there a better way of doing this within a DBGrid?  Some of the
best information I have found so far has been the C++ Developers Guides from
1997 and 1998.

Any help or Info would be greatly appreciated!

Thanks in Advance,

Jim McBride
JMX Services, Inc.
jim@jmxservices.com
Technical Details
Message-ID: <3f5cf14c$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,709487ce5bda33f2,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2003-09-08 14:19:03 PST
From: "Jim McBride" <jim@jmxservices.com>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Information on accessing the active records and Sorting a DBGrid
Date: Mon, 8 Sep 2003 17:17:11 -0400
Lines: 25
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: 216.175.73.50
Message-ID: <3f5cf14c$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1063055692 216.175.73.50 (8 Sep 2003 14:14:52 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail