Gabe Posted June 19, 2005 Posted June 19, 2005 How do I handle importing and exporting fields whose values contain carriage returns? When I export them to a tab file, the CRs screw up the formatting. I am also trying to import some, and the CR is screwing up the process. How do I deal with this?
Vaughan Posted June 20, 2005 Posted June 20, 2005 Are you opening the files in Excel? Excel does some horrific things to text files, usually doing conversions based on bad assumptions about data format without any prompting. Open the file in a text editor to really see what's happening in the exported text file. FMP usually exports carriage returns as vertical bar "|" characters. It converts them back to carriage returns when importing. Refer to the TechInfo article 108483 "Expected Embedded Characters in FileMaker Pro Export Files" for more info.
Gabe Posted June 20, 2005 Author Posted June 20, 2005 No, I am exporting files to tab delimited files, and opening them in simple text mode viewers such as notepad. I have some data from an old non FM system that we are trying to import, and the data has newline returns in some of the data fields. We tried changing the CRs to "|" like you said, but that didn't work, it simply imported the | as part of the field.
comment Posted June 21, 2005 Posted June 21, 2005 Ah, confusion... When you export as tab or comma delimited text, the in-fields CR are replaced by vertical tabs. This "|" is NOT a vertical tab character. A vertical tab is a non-printing character, ASCII code 11, while this "|" is a vertical line character, ASCII code 124.
Vaughan Posted June 21, 2005 Posted June 21, 2005 Arrrgh, confusion indeed! You are correct: vertical tab character, not vertical bar character.
Recommended Posts
This topic is 7096 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