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.
Juggernaut

Splitting a field into one field per line

Featured Replies

I am not sure if there is a function that would be able to do this but I figured I might have just missed it. I want to do the following:

Adress Field:

Company Name

Address

City, State, Zip

Change it to individual fields per line:

AddrLine1: CompanyName

AddrLine2: Address

AddrLine3: City, State, Zip

Thanks for any help!

Too bad you don't have FileMaker 7 or later. FileMaker 7 introduced LeftValues, RightValues and MiddleValues which would make this a lot easier. In FileMaker 6 you can use the following formulas.

Company:

Left(Name; Position(Name; "¶"; 1; 1) - 1)

Address:

Middle(address, Position(address, "¶", 1, 1) + 1, Position(address, "¶", 1, 2) - Position(address, "¶", 1, 1) - 1)

City:

Left(Right(address, Length(address) - Position(address, "¶", 1, 2)), Position(Right(address, Length(address) - Position(address, "¶", 1, 2)), ",", 1, 1) - 1)

State:

Middle(Right(address, Length(address) - Position(address, "¶", 1, 2)), Position(Right(address, Length(address) - Position(address, "¶", 1, 2)), ",", 1, 1) + 2, 2)

Zip:

RightWords(address, 1)

And, yes! You should separate the city, state and zip into separate fields. This will make it possible for you to sort on the city or state.

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.