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

5 line text field- send last line to another field

Featured Replies

Hi

I have a text field 'Par" with 5 carriage returns in each record.

Sometimes there are only 4 lines. So I would like to have a calculation that

would send the last line to a field called "five" when it occurs.

So it would normally have 4 lines in the field "par" and when there is a five line exception I would a calc to send the 5th line to field "five"

I would like your help please

Thanks

Dave

FileMaker Version: 7

Platform: Mac OS X Panther

define par1_4 as a calculation:

Left(par, Position(par, "

  • Author

Yes it does - and thanks very much

with FM7 it's even easier.. you can use the LeftValues() function to grab any line of a return delimited list.

Reed is correct, I didn't notice that you're using FM7 (my bad...) tongue.gif

Here are the functions in FM7:

par1_4: LeftValues (par; 4)

par5:

If( Length (RightValues (par; 1)) > 1;

RightValues (par; 1);

"No fifth line"

)

or

If( Position(par; "

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.