SortedField

Forum related to all other 6.x versions of ZeosLib's DBOs

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
dynamo37
Fresh Boarder
Fresh Boarder
Posts: 1
Joined: 13.04.2008, 09:14

SortedField

Post 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.
User avatar
cipto_kh
Senior Boarder
Senior Boarder
Posts: 83
Joined: 28.09.2005, 11:22
Location: Indonesia
Contact:

Post 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?
Post Reply