Solved! Go to Solution.
Also, is it true that you can't use vbScript code such as "vbNewLine" or "vbCrLf" when using the Maplex label engine?
I am using ArcGIS 10.1 I have a several fields and strings I would like to use in a label expression and I would like it to start a newline part way through. I have tried both with vbScript and Python, and when I verify it looks correct, but when I apply it to the map it is all on a single line.
Here is my vbScript form:
[NAME] & " : " & [NUMBEROFFIBERS] + " Strand" & vbCrLf & [FiberMode]
An example of the output is:
Cable 43 : 24 STRAND SINGLEMODE
I have also tried it using vbNewLine--it doesn't make any difference. I have used the vbCrLf in maps I have created in the past and it has worked fine; this time I am using the ESRI Telecom Editing map template. It looks like the template is using the Maplex labeling engine, but I'm not familiar with that. Could there be some map or label setting that would prevent the use of a new line?
I also don't understand why "Strand" is in all caps in the output when that's not the way I put it in the script.
Cheryl
Also, is it true that you can't use vbScript code such as "vbNewLine" or "vbCrLf" when using the Maplex label engine?