Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
LISTVIEW
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Miscellaneous
Thread ID:
00325355
Message ID:
00325421
Views:
20
Francisko,

One way of handling this is to use padl() to pad the data with leading 0's so you'd have values like 0001, 0123, 0134, 0322, 044, 0532, 0060, 0008 which would sort correctly.

>I'm trying to sort the items in a Listview (Activex). But when i select to sort based on the first column (report form) the items are sorted like characters not values.
>
>EX:
>Column1
>1
>123
>134
>322
>444
>532
>60
>8
>
>This values are numeric but are sorted this way.
>
>Why? Is any way to fix this?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform