Dynamic Text in Dynamic Pages

3347
1
12-10-2014 05:32 PM
QuinnMoody
New Contributor

I have created a text box for use with dynamic pages. Each page has a different amount of comments that go into the text box. What I would like to do is have a number populate for each comment. My table has room for 6 comments but I don't always need all six. Currently with the static numbering I have I am forced to remove unused numbers manually. I cannot find guidance on writing an anno script that allows an "if"' statement. If there is no comment then there should be no item number.

 

1.  <dyn type="page" property="Com1"/> 

2.  <dyn type="page" property="Com2"/> 

3.  <dyn type="page" property="Com3"/> 

4.  <dyn type="page" property="Com4"/> 

5.  <dyn type="page" property="Com5"/>

6.  <dyn type="page" property="Com6"/>

Tags (2)
0 Kudos
1 Reply
SepheFox
Frequent Contributor

Hi Quinn,
about half way down the page in this document, it shows how to construct if statements for labeling, both for vb and python: ArcGIS Desktop

0 Kudos