Dim ROAD As String If Not IsDBNull([ROAD_NAME]) Then ROAD = [ROAD_NAME] Else ROAD = "NONE" End If
I am using ModelBuilder and have the following:Dim ROAD as StringROAD = [ROAD_NAME]if isNull(ROAD) = True thenROAD = "NONE"End If
Public Shared Function GetStringValue(ByVal value As Object) As String If value Is DBNull.Value Then Return String.Empty Else Return Convert.ToString(value) End If End Function
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.