I can't figure out why the syntax is wrong in Field Calculator ArcMap 10. The complete codeblock is
Dim CapitalDia As NumberDim TwagDia As NumberDim X As NumberCapitalDia = [New_Pipe_S]TwagDia = [DIAMETER_1]If CapitalDia= 0 Then X = TwagDiaElse X = CapitalDiaEnd IfAnd then, the bottom window is
Final_Dia = X
أكثر...
Dim CapitalDia As NumberDim TwagDia As NumberDim X As NumberCapitalDia = [New_Pipe_S]TwagDia = [DIAMETER_1]If CapitalDia= 0 Then X = TwagDiaElse X = CapitalDiaEnd IfAnd then, the bottom window is
Final_Dia = X
أكثر...