I have some data that I'm working with, and when I sort it, it isn't coming out in the order I would expect. (I'm using Access 2000 by the way.)
Most of records are sorted correctly, but there are a few exceptions. For instance, three of the key fields in the order they sorted are:
E-1006
E1030
E-1031
I expected that the E1030 record would have sorted far lower in the data. Access seems to be ignoring the "-" character during sorting. Unfortunately, I'm doing the sorting to prepare the data to be exported to another program that does a binary search on this field. This is messing it up.
Can anybody offer any insight as to why it's doing this and how to fix it?
Most of records are sorted correctly, but there are a few exceptions. For instance, three of the key fields in the order they sorted are:
E-1006
E1030
E-1031
I expected that the E1030 record would have sorted far lower in the data. Access seems to be ignoring the "-" character during sorting. Unfortunately, I'm doing the sorting to prepare the data to be exported to another program that does a binary search on this field. This is messing it up.
Can anybody offer any insight as to why it's doing this and how to fix it?