Problem with sorting...
Posted: 17.02.2006, 00:43
First - I'm sorry if I'm asking a stupid question...
I have Delphi 7 + Zeos 6.1.5 patch2 + Firebird 1.5.2.
I made a procedure that sort the column when
user clicks on DBGrid's title.
So when user goes click, app does something like this:
TZQuery.SortedFields:=FieldName;
More precisely, it actually works at start,
but when I keep clicking for several times
at various columns, in one moment my app
gets frozen, and there's nothing I can do
except to kill it from Task Manager.
I didn't even notice this, my client did.
Geez, why he had to click so much?!
Should I better sort from SQL
or there is another alternative?
Anyone familiar with this "freezing" problem?
I have Delphi 7 + Zeos 6.1.5 patch2 + Firebird 1.5.2.
I made a procedure that sort the column when
user clicks on DBGrid's title.
So when user goes click, app does something like this:
TZQuery.SortedFields:=FieldName;
More precisely, it actually works at start,
but when I keep clicking for several times
at various columns, in one moment my app
gets frozen, and there's nothing I can do
except to kill it from Task Manager.
I didn't even notice this, my client did.
Geez, why he had to click so much?!
Should I better sort from SQL
or there is another alternative?
Anyone familiar with this "freezing" problem?