I already know that more than half of you about to read this will say, "Use Python," but I'd appreciate it if you'd humor my outdated ways. I'm trying to create a VB label expression on streets such that streets with an alternate name (ACS_ALIAS) will be labeled with the LABEL name and the alternate name in parentheses; streets with no alternate name will be labeled with the LABEL name only. Here is what I tried but to no avail:
Function FindLabel ( [LABEL], [ACS_ALIAS] )if ( [ACS_ALIAS] ) thenFindLabel = ( [LABEL] & " (" & [ACS_ALIAS] & ")" )elseif ( [ACS_ALIAS] = ) thenFindLabel = [LABEL]end ifEnd FunctionI can think of some non-expression workarounds, but any help on this approach would be appreciated.
أكثر...
Function FindLabel ( [LABEL], [ACS_ALIAS] )if ( [ACS_ALIAS] ) thenFindLabel = ( [LABEL] & " (" & [ACS_ALIAS] & ")" )elseif ( [ACS_ALIAS] = ) thenFindLabel = [LABEL]end ifEnd FunctionI can think of some non-expression workarounds, but any help on this approach would be appreciated.
أكثر...