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

Full Name field with appropriate spaces - how?


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

Recommended Posts

  • Newbies
Posted

I apologize if this is a repeat question, but I searched at length and couldn't find my answer. I've been trying to figure this out for years without luck.

I would like to make a "full name" field utilizing mergefields that comes out clean. How can I ask it to look at one field and if that field is not empty, to insert a space? For example, <<If <<MiddleInitial>> <> "" " " "">> or if the field MiddleInitial is not empty, insert space. I've tried using separate "spacer" fields but couldn't figure out if it would work with a calculation. Is there a way to do this?

Thanks in advance!

Posted

Why not just a calculation to create the full name and insert it as the merge field?

TrimAll( NameFirst & " " & MiddleInitial & " " & NameLast; 0; 0 )

Posted

JT! This eliminates the need to test the field(s) for text to determine whether to include a space. I will be changing several IsEmpty() Case statements in one-line addresses and such.

God, 7 rocks! I like this very much, thank you! smile.gif

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