Jump to content

5 line text field- send last line to another field


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

Recommended Posts

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

Link to comment
Share on other sites

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; "

Link to comment
Share on other sites

This topic is 7283 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.