Page 1 of 1

SortedField

Posted: 13.04.2008, 21:53
by dynamo37
Hello.
I use Delphi 7 and MySQL and Zeos components.

For sort field from database table I am using propery of TZQuery called SortedField. It works all right, but it sort all type of collumn alphabetically and I want collumn of integer type sort numerically.
How can I change sort type?

Thank you very mutch.

Posted: 15.04.2008, 05:45
by cipto_kh
If that field is numeric type then it will sort numerically. But if that field type is varchar then it will sort alphabetically. What type of field do you want to sort?