<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16735" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I would define some secondary indexes and then use
the dbGrid's OnTitleClick event to change the index for that column.. What
database are you using - I presume Paradox.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Yell if you can't understand what I mean and I'll
do a quick&dirty demo for you..</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Laurie..</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=marshland.eng@xtra.co.nz
href="mailto:marshland.eng@xtra.co.nz">Marshland Engineering</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=delphi@delphi.org.nz
href="mailto:delphi@delphi.org.nz">delphi@delphi.org.nz</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Saturday, December 06, 2008 2:24
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [DUG] Database sequence
sort</DIV>
<DIV><BR></DIV>
<DIV><FONT size=2></FONT>
<DIV><FONT size=2>I have a dbGrid on the screen with about 20
operations. I need to use an up or down button to change the
sequence of operations. I can't work out a routine that will perform the
function. </FONT></DIV></DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>NZ Borland
Developers Group - Delphi mailing list<BR>Post: <A
href="mailto:delphi@delphi.org.nz">delphi@delphi.org.nz</A><BR>Admin: <A
href="http://delphi.org.nz/mailman/listinfo/delphi">http://delphi.org.nz/mailman/listinfo/delphi</A><BR>Unsubscribe:
send an email to delphi-request@delphi.org.nz with Subject: unsubscribe
<P>
<HR>
<P></P><BR>No virus found in this incoming message.<BR>Checked by AVG -
http://www.avg.com <BR>Version: 8.0.176 / Virus Database: 270.9.14/1832 -
Release Date: 12/5/2008 9:57 AM<BR></BLOCKQUOTE></BODY></HTML>