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

Recommended Posts

Posted

I have a field that typically has a customers first and last name together in this field. I'd like to display just the customers first name or the first word in the field. What is the best way to do this?

Show 1st word <<customer_name>> 

Thanks

Posted

It works best to use two fields (nameFirst and nameLast) which is the 'one fact per field' concept.  You can use LeftWords() to set the data in the nameFirst field and RightWords() for nameLast.  Once the data has been split, it is easier down the road to put them together again in various merge configurations.

The initial split, when dealing with people's names, works best if you create calculations and review the data.  The data may need to be adjusted; for example, Mary Anne might be the person's first name or Anne might be their middle.  Or d'Angelo, if using RightWords (combinedName ; 1 ) will improperly give you Angelo.

Viewing all the data as calculations first will save you many headaches.  You may wish to keep the 'combined-name' field until you are sure they are all correct.

  • Like 1
Posted

It works best to use two fields (nameFirst and nameLast) which is the 'one fact per field' concept.

​Indeed it does (and I should have mentioned this).

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