AnsweredAssumed Answered

Accessing Coded Domain Values using python

Question asked by BrokenLegMike on Apr 11, 2012
Latest reply on Apr 20, 2012 by BrokenLegMike
I am trying to find a way to access domain codes and descriptive values using python for each record in a given field. I have a domain code set for a few fields in a feature class. The user will populate the records for each field using the coded values I set. When that is done, I want to access the value they chose in the attribute table using python. I tried the following:

for row in arcpy.SearchCursor("TESTFC")     print row.TestField1

This returns the coded value if a record was populated by the domain code and it prints out 'None' if the record is Null. I'm wondering if you can return the descriptive value for the domain code?