Ok here is another question.Lets say some of the HOUSE ID fields are empty, how would you modify the expression to say that if the HOUSE is empty/NULL use ACCESS NUMBER to label?
Function FindLabel ( [HOUSE], [NUMBER] ) If IsNull( [HOUSE] ) then Findlabel = [NUMBER] Elseif IsNumeric( [HOUSE] ) then Findlabel = [HOUSE] & [NUMBER] Else FindLabel = [NUMBER] & [HOUSE] End if End Function
You can use this syntax Function FindLabel ( [HOUSE], [NUMBER] ) if IsNumeric( [HOUSE] ) then Findlabel = [HOUSE] & [NUMBER] else FindLabel = [NUMBER] & [HOUSE] end if End Function
Function FindLabel ( [HOUSE], [NUMBER] ) if IsNumeric( [HOUSE] ) then Findlabel = [HOUSE] & [NUMBER] else FindLabel = [NUMBER] & [HOUSE] end if End Function
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.