I need help! I am writing a program that will look through the table of a station layer and then go to the annotation layer and list all the missing values. For Example: The station layer has a field called TFLAG which has the station id in it. The annotation layer has a field called TFLAG with the same station id in it. I want to look through the annotation layer and find all the missing values that the station layer has that the annotation layer is missing. I have written some code. I need to know if I am headed in the right direction!!
import arcpy, os, sys, string arcpy.env.overwriteOutput = True fc = "K:\TASS\4_MAPPING_DATA_SUPPORT\Traffic_Mapping\Traffic_Count_Data\2011_Counts\2011_Annual_Stations\Final_Annual_Stations_2012.shp" fields = ("TFLAG", "T_FLAG") Value = "TFLAG" <> "T_FLAG" where = "%s = '%s'" % (field, vlaue) dhList =  for w in ws: arcpy.env.workspace = w gdb = arcpy.ListWorkspaces ("*", "TFLAG") for fc in gdb: arcpy.env.workspace = fc