My edits don't get saved after running the script, because i have to start an edit session before running the script;
CensusBldForm = "CensusBldForm"
Calculated_EA1=0
with arcpy.da.UpdateCursor(CensusBldForm, ["OBJECTID", "EstimatedPopulationinEA", "Calculated_EA"]) as cursor:
for row in cursor:
Calculated_EA2 = row[1]
row[2] = (Calculated_EA1 + Calculated_EA2)
Calculated_EA1 += Calculated_EA2
cursor.updateRow(row)
What do you think might be wrong or better still can i get it to run without starting an edit session i.e using a arcpy.UpdateCursor instead of arcpy.da.UpdateCursor? Thanks