TCRDBGrid Sorting for BDE-Queries?

Discussion of open issues, suggestions and bugs regarding SDAC (SQL Server Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
formi
Posts: 39
Joined: Thu 17 Apr 2008 13:01

TCRDBGrid Sorting for BDE-Queries?

Post by formi » Tue 22 Jul 2008 14:22

As I can't change all projects to SQL Server I used the TCRDBGrid in a BDE-project. Does sorting (by title-clicking) with TQuery's really not work?
Thanks for aour answer?

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Wed 23 Jul 2008 07:23

Sorting by click on a column title works automatically only for DAC datasets. For other datasets you should add a handler to the OnTitleClick event of the grid.

Post Reply