I have a field called 'Forage_Typ' that has the domain attribute linked in its field properties while the other field 'FType' doesn't have attribute domain. I wanted to auto populate the coded value 'code' in 'FType' field based on the value (domain description) entered in 'Forage_Typ'. Is there way I can do by python script in field calculator? I appreciate for any help. Thanks.
This can be done with Python but it isn't "dynamic." You would have to run the script each time you wanted the domain to be updated with new coded values. Is that acceptable?
Thanks for the clarification Blake. That is what I think now. Actually, I didn't find any idea in regards to this issue posted in the forum. I hope it can be done in future.
If I understand what you are trying to do, I would suggest using the Domain To Table tool to create a table, then join the table to your feature. Then you could use the field calculator to set the field in your feature to equal the one you want from the domain table.