Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

Posted

hello everyone.

I need some help with a calc.

i have a field namefirst in this field it is filled with the name DOE JOHN

i need to move the name DOE to namelast field sure this is simple but having a hard time understanding.

Thanks

RT

Posted

If there is ever only two names in this field (and you want only the first name in the name first field and the last name only in the last name field) then script it [pseudo code] - if this is to be done for all records

Show all records

Goto first record

Set name last field with LeftWords (name first field; 1)

Set name first field with RightWords (name first field; 1)

Loop

Goto next record, exit after last

Set name last field with LeftWords (name first field; 1)

Set name first field with RightWords (name first field; 1)

End loop

  • Like 1
Posted

Another option is to define two stored calculation fields using LeftWords() and RightWords(), respectively. Check your results and if everything looks fine, change the fields to type Text. You can then delete the original field.

  • Like 1
Posted

thank you so much it worked and saved me lots of time and key presses

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