I am using a Label Expression to label a parcel layer. The expression is:
"" & [Owners_Nam] & " "
This works correctly for some labels, but any [Owners_Name] field that has an "&" in it, such as between two owners names (Smith, John & Sue), does not show up correctly. The parcel is labeled as:
Smith, John & Sue
Is there any way to solve this without removing the "&" from the [Owner Name] field?
I know how to replace the & in Field Calculator; I would just like to preserve the original field text. I've had this same problem in the past using the
tag too.
Answer
The ampersand is a special character, in order to insert one into a text box or a label you should use the code &
instead. The less-than symbol is the same way, if you need to use one of those in your label, use the code <
Related: ArcMap 10: How do I escape certain characters when labeling?
No comments:
Post a Comment