Hello everyone,
how can I add a date field in a whereClause when using an arcpy.SearchCursor?
This is the portion of the code I am using:
for row in cur:
whereClause = "AGMID = " + row.getValue("AGMID") + " AND DIGIDATE = " + row.getValue("DIGIDATE")
src = arcpy.SearchCursor(AGREEMENT, whereClause)
I can compare the field "AGMID = " + row.getValue("AGMID") but the field DIGIDATE fails.
Thanks