I am desperately trying to figure out how to NOT LABEL something. I have one field with all of my labels in it. The field is titled "As_Comment"
I have features such as pillars that I have data on and other structures but I don't want them to be labeled. When I try to just label a specific pillar to test my expression it works. However, when I try to use a wildcard (as there are many pillars ie pier 69, pier 70, pier 71, etc) the code is still verified and accepted but it still labels everything. I decided to go all out and see if I could NOT LABEL 2 items, messed up the code 😮 that was partially working and had to start all over again. Below is what I have at the moment after starting over again 🙂
Function FindLabel ( [AS_COMMENT] )
if [AS_COMMENT] <> ("PIER %")
then FindLabel [AS_COMMENT] =(" ")
else
FindLabel = [AS_COMMENT]
end if
End Function
Also, how would I write it if I didn't want to label 2 items? Say if I didn't want to label andthing with "PIER" in it AND anything with "CIP" in it?
Any speedy help on this is very much appreciated.