AnsweredAssumed Answered

UpdateCursor no error shown

Question asked by PSoares on Mar 23, 2020
Latest reply on Mar 25, 2020 by PSoares

Hi Gents,

I am using Arcmap 10.5.

Can someone tell me what is wrong here?

When it gets to line 15 it simply exits with no error and no update... 

 

 

 

 

 if count<>"0":     # only feature classes with features



                    with arcpy.da.UpdateCursor(fc,("BDV"),"*") as cur :
                        for row in cur:
                            row[0]=date
                            cur.updateRow(row)
                   
                    del row


                    with arcpy.da.UpdateCursor(fc,("BIN"),"*") as cursor_Name:

                        for prow in cursor_Name:
                           
                            prow[0]=NN_code
                            cursor_Name.updateRow(prow)

                    del prow

Outcomes