OK, maybe I'm a little slow or I missed something.  I've got an app whose
.pdbs are made on the PC, and the databases are sorted by a particular
field.  The ascii code for a space is 20 and the ascii code for a dash is
2D.  So, logically, if a the same word is in a field followed by a space, I
put it before the word followed by a dash.  However, I've noticed on the
Palm, for instance in the Address Book, if a word is entered followed by a
dash and the same word is entered followed by a space, the one with the dash
comes before the one with the space.  The bottom line to this is that, of
course, using StrCaselessCompare or TxtCaselessCompare, a search gets all
messed up.  Any insights into why Palm doesn't just use ascii sort order?

DeAnna


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to