Is it possible to use ascii character sequence in logic and indexing?
I'm migrating from dB3+ where '@' < 'A' to dB5 where the reverse is true and all my logic is shot as I use '@' a lot!
I know A is 65 and @ 64 which is why I chose @ for 'below A wihout going to numbers'. The problem is that indexing puts my @ keys to the end, and in logic such as 'if zone > "U"' the @ zone data gets included in the '> U' data. I've proved it by printing @ data which is treated as '> U' data.
I created a DBF with all the characters from 32 to 255 and indexed it to find out the new positioning and it was interesting. The accented characters follow their plain versions so Éire now appears ahead of France instead of at the end. @ appears after all the alphabetics.
dB5 help just says under both ANSI and ASCII that "Windows products use the ANSI character set". It was fine in dB3+ which is DOS based, and I was hoping there was a backward compatibility option which would allow me to continue using ASCII sequencing. I've changed the logic in one zone-sensitive program (Christmas card addressing) as I'm loath to change my data.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.