I have a feature class in a personal geodatabase with 2 fields. They both have domains set up to ease the editing process for my users. If my WaterType field is set as "Not Irrigated" (or code 4) then I need my IrrigType to be set as "Not Irrigated" (code 0). I'm not sure if I want to use the description or the code for the domains.
I would also like to set this up so that it runs automatically...so that I don't need to calculate field and run the Python script every time.
Any suggestions? I tried the following code to no avail:
def calIrrigType(WaterType, IrrigType): if WaterType=='Not Irrigated': return 0 else: return IrrigType