Hopefully this is an easy question.
I have a shapefile with a field called Direction.
I want to replace the values in the field (east, west, north and south)
with arrows indicating direction in my Label Expression.
Function FindLabel ( [Direction] )
NewString = Replace( [Direction], "west","→")
FindLabel = NewString
End Function
the label is appearing as → rather than the arrow pointing right I would prefer to see.
I did it before using this code but it only worked if there was another character in front of the arrow.
Function FindLabel ( [Direction] )
d = [Direction]
if d = "west" then
myLabel = ".???"
FindLabel= myLabel
ElseIf d = "east" then
myLabel = ".???"
FindLabel= myLabel
elseif d = "north" then
myLabel = ".???"
FindLabel= myLabel
elseif d = "south" then
myLabel = ".???"
FindLabel= myLabel
else
FindLabel = [Direction]
End If
End Function