ArthurLiu88
Programmer
I don't understand where is the update conflict. The code is as follows:
SCATTER NAME oFieldValue MEMO FIELDS EXCEPT timestamp_column, idnbr
APPEND BLANK
GATHER NAME oFieldValue MEMO
REPLACE curEmployee.name WITH ALLTRIM(curEmployee.name) + "-COPY" IN curEmployee
lcAlias = "curEmployee"
TABLEUPDATE(1, .T., lcAlias)
GO (RECNO(lcAlias))
DELETE IN (lcAlias)
SKIP IN (lcAlias) && where the error happens
IF EOF(lcAlias)
......
ENDIF
"curEmployee" is an updatable cursor using SPT in VFP9 and SQL2000.
Who can help? Many thanks
Arthur
SCATTER NAME oFieldValue MEMO FIELDS EXCEPT timestamp_column, idnbr
APPEND BLANK
GATHER NAME oFieldValue MEMO
REPLACE curEmployee.name WITH ALLTRIM(curEmployee.name) + "-COPY" IN curEmployee
lcAlias = "curEmployee"
TABLEUPDATE(1, .T., lcAlias)
GO (RECNO(lcAlias))
DELETE IN (lcAlias)
SKIP IN (lcAlias) && where the error happens
IF EOF(lcAlias)
......
ENDIF
"curEmployee" is an updatable cursor using SPT in VFP9 and SQL2000.
Who can help? Many thanks
Arthur