C
ch_100755
Unregistered / Unconfirmed
GUEST, unregistred user!
在一个有很多条记录的表中执行修改作业,依次修改每一个记录,会出现'Debugger Exception Notification
Project tableprint.exe raised exception class EOleException with message
'缺少更新或刷新的键列信息。'. Process stopped. Use Step or Run to continue.'
的错误提示,如何解决代码如下
var
ye:real;
begin
data.kj_table.first;
ye:=1000;
while not data.kj_table.eof do
begin
data.edit;
ye:=ye-data.fieldbyname('je').asfloat;
data.fieldbyname('ye').asfloat:=ye;
data.post;
end;
Project tableprint.exe raised exception class EOleException with message
'缺少更新或刷新的键列信息。'. Process stopped. Use Step or Run to continue.'
的错误提示,如何解决代码如下
var
ye:real;
begin
data.kj_table.first;
ye:=1000;
while not data.kj_table.eof do
begin
data.edit;
ye:=ye-data.fieldbyname('je').asfloat;
data.fieldbyname('ye').asfloat:=ye;
data.post;
end;