Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Space delimited export files to a UNIX program

Featured Replies

  • Newbies

The problem I'm dealing with seemed simple at first - but now I'm stumped. I need to output data from FMP 4 to an ASCII file, and MUST maintain a specific space delimited format. The output is being passed to a UNIX based program that requires all information (12 fields) to be in a column specific location.

The output must not contain any 'extra' characters such as " or tabs etc. Any ideas greatly appreciated!

  • 2 weeks later...

Make a calc field that formats the entire record in the format required. For example, if field `f1' must fit in 20 columns and field `f2' must fit in 35 columns, then your calc field might look like this:

code:


export(calc,text) =

Left((f1 & " "),20) &

Left((f2 & " "),35)


Export just this field in Tab-delimited format. Tab-delimited doesn't add quotes, and with only 1 field, it won't add tabs either.

[This message has been edited by Thom (edited May 24, 2000).]

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.