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.

Import file with semi-colon delimiter

Featured Replies

I am trying to import a text file that uses a semi-colon as a field delimiter. Filemaker 5.0 only appears to want to use a tab as the delimiter character and there are no options to specify alternate delimiter characters. Other than first running this file through excel, is there any way to get FM 5.0 to import this file directly.

Thanks

There are a couple of ways.

1. Easy: Import it as tab delimited. Everything will go into one field. Then use a calculated field to convert the colon to a tab using the Substitute function. Export to a temporary file. Then re-import.

2. Slightly Harder: As above import it as tab delimited. Everything will go into one field. Then use a bunch of text calculations (the Position() function) to locate the colon delimiters and split the data into individual fields.

[ October 04, 2001: Message edited by: BobWeaver ]

Just a followup. If you want to do the parsing with text functions, here are the basics:

Assume the data is all in a field called RawData, and you have a global field gFieldNo that is set to the number of the field that you want to extract:

gDelimiter1Posn = Position(":"&RawText&":",":",1,gFieldNo)

gDelimiter2Posn = Position(":"&RawText&":",":",1,gFieldNo+1)

FieldNdata = Middle(RawData,gDelimiter1Posn+1,gDelimiter2Posn-gDelimiter1Posn-1)

  • Author

Bob,

Thanks for the reply. Your first suggestion makes sense and seems like the easiest solution as I can easily automate it.

Your second solution about the tab delimited file is not an issue as FM expects the tab delimiter during import and will populate the correct field from the tab file.

Thanks

Echo

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.