with sdsdataset do
begin
if (not active ) Or (Eof) then exit;
.
.
.
First;
while not Eof do
begin
Edit;
FieldByName('Ran').Asstring:= lran;
next;
end;
Try
applyupdates(0);
except on E:Exception do
begin
sysutils.abort;
end;
end;
end;
代码运行到Next后,报错提示为:
invalid floating point operation
请问该如何解决? 原因是什么?