llResult=TABLEUPDATE(2,.T.,"DetailView",Errors) && Try to update the lot lnRecNo = GETNEXTMODIFIED(0,"DetailView") DO WHILE lnRecNo <> 0 llRetVal=TABLEUPDATE(1,.T.,"DetailView",Errors) && This is supposed to get me to the next modfied record, right? IF NOT llRetval AND NOT TABLEUPDATE(0,.T.,"DetailView",Errors) && Try and update this one =AERROR(Errors) lcError="" FOR N = 1 TO ALEN(Errors) lcNextError=Errors(N) lcNextError=IIF(TYPE("LCNEXTERROR")="N" OR TYPE("LCNEXTERROR")="I",ALLTRIM(STR(lcNextError)),lcNextError) lcError=lcError+lcNextError+" " ENDFOR ldDate=DATETIME() lnResult=SQLEXEC(lnHandle,[INSERT INTO ERRORLOG (Date,Event) VALUES (?ldDate,?lcError)]) TABLEREVERT(.F.,"DetailView") ENDIF lnRecNo = GETNEXTMODIFIED(lnRecNo, "DetailView") ENDDO