I am trying to do a simple (or so I thought) if/then statement in the ArcGIS field calculator.
I am trying to add the HydroCode field - hydologic soil codes - to an existing data set. I know what the code should be based on the "MUSYM" number. For example, "MUSYM" 1667 has the hydrologic soil code A. The "MUSYM" field is a number and the "HydroCode" field is text.
I vaguely remember doing if/then statements years ago when I more actively used GIS. I have tried simple If "MUSYM" = 1667 Then "HydroCode" = A Endif along with some other variations but none are working.
What am I missing?? All of the help I have found online deals with very complex coding, I can't find anything for such a simple statement. I also can't find anything with just basic operational instructions as far as where the operators should go/punctuation/etc.