I am labeling certain Oil & Gas areas by Operator in ArcMap 10, using this expression:
"" & [OPERATOR] & "" & vbNewline & "" & [UNIT_NAME] & ""
The only problem is that when the operator includes an ampersand (&), the label messes up because it's reading it as part of the expression, and ends up looking like it does in the screenshot below.
I know that in PHP (from my experience programming unrelated to GIS), there is a way to escape certain characters, but I haven't been able to find it in VBScript.
Screenshot: http://i.stack.imgur.com/gdKxB.png
No comments:
Post a Comment