SortedField

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

Moderators: gto, cipto_kh, EgonHugeist

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

SortedField

Postby dynamo37 » 13.04.2008, 21:53

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:

Postby cipto_kh » 15.04.2008, 05:45

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?


Return to “Other 6.x Versions”

Who is online

Users browsing this forum: No registered users and 1 guest