Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Converting foreign accents
Message
 
 
To
20/02/2017 11:04:12
General information
Forum:
Visual FoxPro
Category:
Visual FoxExpress
Miscellaneous
Thread ID:
01648083
Message ID:
01648208
Views:
35
>>Can you help further
>>
>>My dbf file consists of about 1000 records and 20 fields of which 10 could have accents - I dont know what the accents are I just need to remove all accents from all of the 10 fields for all of the 1000 records -
>
>What I mentioned originally might be able to do it. That would assume you handle them one by one, meaning you know you would have capital A accented into which you would like to convert to capital A without accent:
>
>
>UPDATE MyTable SET MyField=CHRTRAN(MyField,"ÀÁÂÃÄÅÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖÙÚÛÜÝàáâãäåçèéêëìíîïðñòóôõöùúûüýÿ","AAAAAACEEEEIIIIDNOOOOOUUUUYaaaaaaceeeeiiiidnooooouuuuyy")
>
You can list all columns you need to change in one update command and update all of them in one go.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform