🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Sorting DBGrid

#3667
From: Ola Eriksen
Date: Thu, 04 Jul 2002 09:11
8 lines
1221 bytes
Hello!

A simple question I guess :)

Can anyone help me with some code so that I can sort the TDBGrid by the field the user selects.
I've activated the OnTitleClilck event, but I've not managed to write a code that works :(

Thanks!
Technical Details
Message-ID: <1103_1025773874@ola>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!supernews.com!feed.textport.net!diablo.netcom.net.uk!netcom.net.uk!news.tele.dk!small.news.tele.dk!216.218.192.242!news.he.net!news-out.spamkiller.net!propagator2-maxim!propagator-maxim!news-in.spamkiller.net!news02.tsnz.net!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,6f893f24f32b7eae,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2002-07-04 01:25:01 PST
From: Ola Eriksen <ola@callcom.no>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Sorting DBGrid
Message-ID: <1103_1025773874@ola>
Date: Thu, 04 Jul 2002 09:11:14 GMT
Mime-Version: 1.0
User-Agent: Mozilla/4.0 (compatible; MSIE 5.0; Windows 2000) Opera 5.12  [en]
Content-Type: text/plain; charset="us-ascii"
NNTP-Posting-Host: 193.69.252.248
X-Trace: dnews 1025770339 193.69.252.248 (4 Jul 2002 01:12:19 -0700)
Lines: 10
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!supernews.com!feed.textport.net!diablo.netcom.net.uk!netcom.net.uk!news.tele.dk!small.news.tele.dk!216.218.192.242!news.he.net!news-out.spamkiller.net!propagator2-maxim!propagator-maxim!news-in.spamkiller.net!news02.tsnz.net!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews