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

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

Recommended Posts

Posted

In my never-ending quest to make data consistent in our solutions here at work, people have entered proper names all kinds of ways: all lower-case; properly with initial caps; all upper case, and some people with a combination of both.

What I'd like to do is create a script or custom function to clean it up so if a user hasn't entered a name in a Name field, a custom function/calc will format names correctly to initial upper-case letters; if a user has entered a name, regardless which case the letters are in the name would be formatted correctly as well.

Since there aren't any styles assigned the TextStyleRemove command won't help.

I'm sure this has been done by somebody before, but for the life of me I can't find an answer here or elsewhere.

TIA for your help!

Rich

Posted (edited)

I would clean up the names (actually have the Users fix them). Then I would tell Users that we know which User enters which names (and track it). And if they enter the names incorrectly, they will be in trouble. I am serious. Users need to be help accountable for some things and a computer can NOT properly format a person's name (there are simply too many variations). And misspelling someone's name is the worst offense there is.

If you correct the names (either just the display through text layout using Title or through replacing the data (using Proper), you will break many of them. I could give you a list of 50 names which will break if you attempt to let a computer generate them (been there; done that). But here's the idea: LaRetta (me), DeAngelo Williams, LaRoux ...

You might use Proper() and set the data once and then require the Users to verify and then hold them accountable for doing this one thing properly from now on.

Edited by Guest
Corrected last sentence
Posted

How novel: holding people accountable for their actions.

I like it--thanks!

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