Can anybody help me with this VB Script code for the field calculator in ArcGIS 10.2? Why the final result, all the values of a are 10? a= 10 Select Case UCase( [PRIORITY] ) Case "AUX 1": a = 22.5 Case "AUX2": a = 25 Case "PRIMARY": a = 17.5 Case "AUX 2": a = 25 Case "AUX 3": a = 30 Case "AUX 4": a = 32.5 Case "NA" : a = 5 Case "N/A": a = 5 Case "SECONDARY": a = 15 Case "SECONDARY2": a = 15 Case "Tertiary": a = 10 Case "MALL": a = 27.5 End Select
أكثر...
أكثر...