H
hingman
Unregistered / Unconfirmed
GUEST, unregistred user!
以下寫法,運行到Table_QUOTED.ApplyUpdates時出以下Error:
'Couldn't perform the edit because another user changed the record.'
片斷如下﹕
if Database1.InTransaction then Database1.Rollback;
Database1.StartTransaction;
try
Table_COM.ApplyUpdates;
Table_QUOTEH.ApplyUpdates;
Table_COA.ApplyUpdates;
Table_COI.ApplyUpdates;
Table_COJ.ApplyUpdates;
Table_QUOTED.ApplyUpdates; “此句出錯”
Database1.Commit;
except
Database1.Rollback;
raise;
end;
Table_COM.CommitUpdates;
Table_QUOTEH.CommitUpdates;
Table_COA.CommitUpdates;
Table_COI.CommitUpdates;
Table_COJ.CommitUpdates;
Table_QUOTED.CommitUpdates;
請問在ApplyUpdates之前有什么操作會導致出此Error?非常之急!!!
'Couldn't perform the edit because another user changed the record.'
片斷如下﹕
if Database1.InTransaction then Database1.Rollback;
Database1.StartTransaction;
try
Table_COM.ApplyUpdates;
Table_QUOTEH.ApplyUpdates;
Table_COA.ApplyUpdates;
Table_COI.ApplyUpdates;
Table_COJ.ApplyUpdates;
Table_QUOTED.ApplyUpdates; “此句出錯”
Database1.Commit;
except
Database1.Rollback;
raise;
end;
Table_COM.CommitUpdates;
Table_QUOTEH.CommitUpdates;
Table_COA.CommitUpdates;
Table_COI.CommitUpdates;
Table_COJ.CommitUpdates;
Table_QUOTED.CommitUpdates;
請問在ApplyUpdates之前有什么操作會導致出此Error?非常之急!!!