Hi, I'm trying to create a script that checks the column name and datatype. Right now I can grab the column name but would also like to return the datatype to check them both at the same time. for table in tables: fields = [f.name for f in arcpy.ListFields(os.path.join(location,prefix+table))] if table == 'Customers': for field in ['FirstName', 'LastName','Location']: if field not in fields: print(table + '.' + field + ' - Incorrect) else: print(table + '.' + field + ' - Correct') I have a number of tables which I'm planning on running a check against for column name and datatype if possible. If anyone has done something similar or could help me with understanding how to check the datatype as well I would greatly appreciate it.
... View more