K1200 Posted March 7, 2009 Posted March 7, 2009 After a long and frustrating afternoon of trying to unravel what FileMaker was doing to my imported text fields, Iâve arrived at a solution that Iâd like to share. This involves text files imported using the Import Folder option. And from what I can tell, this applies to Windows only. After importing, all text paragraphs had one or two extra blank lines appended to them. I tried the various âusualâ methods for removing extra carriage returns from the end of text fields. None of them worked -- because what FileMaker had done (for reasons known only to them) was add a combination Carriage Return + Line Feed every time it saw a Carriage Return in the import stream. I found this after I resorted to displaying the imported text with a Hex Editor. Iâve attached a snippet of the analyzed file for reference. I can find no relevant information in the documentation. Once I isolated the data case, a simple calculation cleaned it up -- âmade it normalâ again: Substitute (Table::Field ; Char(13) & Char(10) ; ââ ) Maybe someone will put together a white paper on âImporting and Exporting Text with FileMakerâ. Between character set differences, OS conventions, XML style sheets and FileMaker's quirks, this most basic and common way to transfer information is all too complicated. Judging from the history of posts on this forum, a lot of time has been wasted already because the unknowns are so high. And FileMaker isn't talking -- not really. I hope this helps whoever decides to write that paper!
Recommended Posts
This topic is 5740 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