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 6414 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I have a field (FullName) that reverses the order of a person’s name in another field (ReverseName).

Example: Smith, Sara becomes Sara Smith

This is what the calculation looks like now for the FullName field:

Right (ReverseName; Length (ReverseName) - Position (ReverseName; " "; Length (ReverseName);-1))

& " " &

Left (ReverseName; Position (ReverseName; " " ;1;1) - 2)

This works OK, but some people have two first names (Sara Gray Smith).

How can I write a calc for a Name field with two first names?

Example: Smith, Sara Gray should become Sara Gray Smith

TIA lpm

Posted

If your data is entered consistently use the comma to get your position. Everything to left of the comma is the last name & everything to the right is the first. This will be helpful if/when you get last names like Van Buren etc.

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