Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BINTOC function doesn't sort numeric data correctly
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
BINTOC function doesn't sort numeric data correctly
Miscellaneous
Thread ID:
00589393
Message ID:
00589393
Views:
45
Hi everybody,

In the compound index I use BINTOC function to convert everything to string. So my index expression will look like:
ccode+town+street+bintoc(stNum)+StNumExt... where stNum is Numeric 4. However, we found, that it sorts things incorrectly, e.g. 109 appears before 84. So, does it mean, what this function could not be used or I have some sort of data corruption...?

Thanks in advance.
If it's not broken, fix it until it is.


My Blog
Next
Reply
Map
View

Click here to load this message in the networking platform