X
xbeing
Unregistered / Unconfirmed
GUEST, unregistred user!
我在使用query,datasetprovider,clientdataset进行数据更新提交时,采用如下语句:
if (clientdataset1.state in [dsedit,dsinsert]) then clientdataset1.post;
if clientdataset1.changecount>0 then
clientdataset1.applyupdates(0);
提示如下错误:
project project1,exe raised exception class EDatabaseError with message'Record changed by another user'.
process stopped.Use Step or Run to continue.
请教各位富翁,这个问题一般会在什么情况出现,由于我是初学者,经验不足,请各位多多指教,在线等候,一经解决,马上结帖
if (clientdataset1.state in [dsedit,dsinsert]) then clientdataset1.post;
if clientdataset1.changecount>0 then
clientdataset1.applyupdates(0);
提示如下错误:
project project1,exe raised exception class EDatabaseError with message'Record changed by another user'.
process stopped.Use Step or Run to continue.
请教各位富翁,这个问题一般会在什么情况出现,由于我是初学者,经验不足,请各位多多指教,在线等候,一经解决,马上结帖