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.
Yell if you can't understand what I mean and I'll do a quick&dirty demo for you.. Laurie.. ----- Original Message ----- From: Marshland Engineering To: [email protected] Sent: Saturday, December 06, 2008 2:24 PM Subject: Re: [DUG] Database sequence sort 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. ------------------------------------------------------------------------------ _______________________________________________ NZ Borland Developers Group - Delphi mailing list Post: [email protected] Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe ------------------------------------------------------------------------------ No virus found in this incoming message. Checked by AVG - http://www.avg.com Version: 8.0.176 / Virus Database: 270.9.14/1832 - Release Date: 12/5/2008 9:57 AM
_______________________________________________ NZ Borland Developers Group - Delphi mailing list Post: [email protected] Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe
