CDR, I'm not sure if it is the maps in my area or what, but they seem to have the "Street/Avenue/etc" denomination in the end in the address list... This is fine for entering addresses, but when the street I'm on is displayed on FD screen, or through SDK, I'd prefer if that was reversed...
so "Market ST" in the address list (this is how it should), should be inverted to "ST Market" in the displaying screens because that is the correct gramatical way for most non-english countries...
Do you think it would be possible to add a function to do the opposite, of the above? just for the displays, as the input list in my case is already inverted (Name [space] Type(ST/PL/ETC))...
The way that I think it would be best to isolate the "Name" (eg. Market) from the "Type" (eg. Street or Place) would be to cycle with either RIGHT() or LEFT(), inside a loop until you find the first SPACE character. Then, figure out if the above is 3 or less letters, and all Caps (I thikn all "Types" are 3 or less, and CAPS), then you can put it in the front or in the end depending on the need.... I hope I made myself clear... I can write it out in code if you dont understand my idea...



LinkBack URL
About LinkBacks

Reply With Quote
(I guess they are a big problem everywhere that has them! ehhee)

Bookmarks