Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sorting records on a DBGRID

Status
Not open for further replies.

Morelos

MIS
Apr 12, 2000
33
0
0
MX
How can I sort records on a DBGrid, depending on which Column Title I click? For example, if my DBGrid has 3 fields: "Name", "Last Name" and "City". I want to sort the records alphabetically by last name by clicking on the "Last Name" Column Title, I know I have done it before, but it's been too long since I toyed with Delphi.
BTW, i'm running Deplhi 5.

Thanks.
 
Check out the faq area
How do I quickly find data in a dbGrid?
faq102-4557

Regards

Steven van Els
SAvanEls@cq-link.sr
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top