Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

  • Newbies
Posted

How do I set up a text field to make sure that it is always automatically formatted correctly for

LastName, FirstName. I want to make sure that there is always a comma and "1" space following each last name and I want this to occur in one field called Pt. Name. Is it possible?

Posted

Asssuming you have fields LastName & FirstName then a calculation field Pt_LastName_FirstName = LastName & ", " & FirstName.

Notice I changed the name of your field replacing the "." & the "," with an "_".

  • Newbies
Posted

Can it be done in the Pt_Lastname_Firstname field without entry into a separate Lastname and FirstName fields? I know the substitute function will work on the entry field.

Posted

Why would you want to do it that way?

The more you breakdown your data into separate fields, the more you flexibility you will end up having.

If your data was imputed in this format, LastName, FirstName, your next problem would be in how to separate it out into individual fields.

Users make enough errors entering data. Having them entering it all in one field, no matter what the intended format, will end up having them put a mix of last name, first name and middle initials, prefixes, suffixes, etc.

Take a look at the file by David Kachel available at his web site:

http://www.codemastersworkshop.com

called [color:blue] UNIVERSAL CAPITALIZER FOR FMP , it may not be what you want, but it will sure will show you the problems with data entry.

HTH

Lee

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