macavity Posted April 24, 2015 Posted April 24, 2015 Hi, I've used Textstyleadd in FM12 to change names entered in all caps into title case. However exporting them as csv seems to read the original ASCII. I have not been able to find a way to export csv with the corrected title case spelling. Is it possible? Thank you for any suggestions.
comment Posted April 24, 2015 Posted April 24, 2015 (edited) I have not been able to find a way to export csv with the corrected title case spelling. Is it possible? No, it is not. CSV is a plain text format and any styles you may have applied to the text are not included. You need to use the Proper() function instead of TextStyleAdd(), if you want it to export that way. Note that this will actually modify your data and there will be no way to revert back to the original. If this is for export only, there are other ways (e.g. use a calculation field). Edited April 24, 2015 by comment
macavity Posted April 24, 2015 Author Posted April 24, 2015 Thank you so much, comment! I hadn't known that the Proper function actually changed the spelling. The names were imported from a French database where capitalising last names is common. We want them changed throughout the database, so the Proper solution is ... the proper solution. Thanks again!
comment Posted April 24, 2015 Posted April 24, 2015 Just keep in mind that applying Proper or TitleCase to last names does not always produce a "proper' result. For example, "D'ARTAGNAN" will be converted to "D'artagnan" instead of the original and proper "d'Artagnan".
Recommended Posts
This topic is 3512 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now