Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7917 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hello all,

I'm exporting data to a text file to give to a colleague who is importing the data into an INGRES database. Unfortunately, she needs each record to end with a line feed, while Filemaker ends each with a carriage return.

Does anybody have a solution for us?

Thanks,

Carlisle

Posted

Create a calculated field with the linefeed character, and then export that field.

Or run though Excel converting all carriage returns into linefeeds, actually opening in Excel and re-saving as text file may convert them automatically.

Posted

Does INGRESS want a linefeed only, or carriage return and linefeed? Or, does it care about the carriage return as long as the linefeed is there?

I generally run the exported file through some kind of text editor to replace the carriage returns with linefeeds. Depending on your platform there are a number of utilities available.

Posted

Create a calculated field with the linefeed character, and then export that field.

Or run though Excel converting all carriage returns into linefeeds, actually opening in Excel and re-saving as text file may convert them automatically.

I'm not sure this will work as a solution, since the record will still end with a carriage return, but it will be worth a try.

We are actually doing an automated data dump. I suppose I could script the Excel open/save/close.

The weird thing is that this used to work. In the old regime, the database was being served by FMServer 5 and run (for the export) by FMP 5.5 by machines running OS9. Now it's on an Xserver by Server 5.5 and run by FMP 6, both by machines running (of course) OS X.

We're thinking that something about this change has substituted carriage returns for line feeds.

Sigh....

Posted

Does INGRESS want a linefeed only, or carriage return and linefeed? Or, does it care about the carriage return as long as the linefeed is there?

I generally run the exported file through some kind of text editor to replace the carriage returns with linefeeds. Depending on your platform there are a number of utilities available.

Bob,

I've queried my INGRES person more carefully.

Apparently, INGRES is looking for a new line, which apparently is a combination carriage return and line feed.

The exports go out with a carriage return only.

I think she is going to take your suggestion and try and edit the output file to change the carriage returns to new lines. I'm not sure of her platform...methinks it is windows.

As I said in my previous post, the odd thing is that this used to work. Don't know if it is the change to OSX or FMP6 or some combination of both.

Thanks for your help.

Carlisle

Posted

Traditionally, Mac operating systems (up to and including OS9) have used a carriage return as an end of line marker, Windows uses carriage return + linefeed, and Unix uses just a linefeed. Considering that OSX is based on Unix, I wonder what software running on OSX uses for an end of line character.

  • 1 month later...
Posted

I have just been doing some exports for use with ASP/VBScript.

I am using MacOS X (10.2.4) and FM 6.0v4

The exported file is Tab Delimitated and unfortunately uses only a "carriage return" between lines frown.gif . If it used a "Linefeed" I would be happy.

Unfortunately this database will be used on both Mac and Windows. So I will have to write some more VBScript to compensate.

All the best.

Garry

This topic is 7917 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.