AnsweredAssumed Answered

I need help on the Update Cursor function

Question asked by GISGURU_001 on Aug 23, 2012
Latest reply on Aug 24, 2012 by GISGURU_001
Im trying to update a field called "GENERATED" with an attribute called "GENERATED" every time i autogenerate a map, i constructed this script and it is not updating and i didnt see an error(s)

rows = arcpy.UpdateCursor("Parcels",'[OBJECTID] = "1"')
row = rows.next()
while row:
    row.setvalue(GENERATED, GENERATED)
    rows.updateRow(row)
    row = rows.next()

Please any suggestions. Im desperate. Thanks

Outcomes