"<BOL><UND>" + [Location_I] + "</UND></BOL>"
"<BOL><UND>" + [Location_I] + "</BOL></UND>"
Thank you!
Jeffrey Wittler | Environmental Resources Manager | Clark Public Utilities | p: 360.992.8577
Try:
<SPAN class="string token">"<BOL><UND>"</SPAN> <SPAN class="operator token">+</SPAN> <SPAN class="punctuation token">[</SPAN>Section_Number<SPAN class="punctuation token">]</SPAN> <SPAN class="operator token">+</SPAN> <SPAN class="string token">"</UND></BOL>"</SPAN> <SPAN class="operator token">+</SPAN> <SPAN class="string token">'\n '</SPAN> <SPAN class="operator token">+</SPAN> <SPAN class="punctuation token">[</SPAN>Planned_Plants<SPAN class="punctuation token">]</SPAN> <SPAN class="operator token">+</SPAN> <SPAN class="string token">'\n '</SPAN> <SPAN class="operator token">+</SPAN> <SPAN class="punctuation token">[</SPAN>Acres_numeric<SPAN class="punctuation token">]</SPAN> <SPAN class="operator token">+</SPAN> <SPAN class="string token">' ac'</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN></SPAN>
You are closing the XML tags incorrectly. Instead of <UND>, you need </UND>.
New to Python (or for that matter VBScript). The instructions above seem straight forward but i am unable to get it to work. The following is what I've tried to do
"<BOL><UND>" + [Section_Number] + "<UND><BOL>" + '\n ' + [Planned_Plants] + '\n ' + [Acres_numeric] + ' ac'
That would hopefully produce the following result
3
1,110
1.3 ac
Below is the resulting label on my map:
<BOL><UND>3<UND><BOL>
I'm obviously missing something but unable to identify what I'm doing wrong. Any help would be much appreciated.
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.