AnsweredAssumed Answered

newbie VB Script -- then 'do not change field value'

Question asked by plsullivan on Feb 11, 2016
Latest reply on Feb 11, 2016 by kenbuja

I need to change the location field if category is 4300. If it's not don't change the value in the location field. How do I do this? Thanks.

 

dim genlocation

if [CATEGORY] = 4300 and [LOCATION] isnull then

genlocation = ([SITE] & " - " & [SUBCATEGORY])

else

-- don't change the [LOCATION] value --

 

 

I haven't been using Arcgis for a while but I see the forum format is just as convoluted as ever... I have no idea if this is in the right place or not.

Outcomes