石
石光亮
Unregistered / Unconfirmed
GUEST, unregistred user!
Table2.Active:=True;
Table2.Exclusive:=True;
Table2.First;
while not Table2.Eof do
begin
if Table2.FieldValues['业务编号']=FlowNumber then
begin
//Table2.Edit;
Table2.Delete;
//Table1.ApplyUpdates;
//Table2.Post;
end;
Table2.Next;
end;
Table2.Active:=False;
执行时总是出错,说不能在open dataset中执行这步操作,请指教!!!
Table2.Exclusive:=True;
Table2.First;
while not Table2.Eof do
begin
if Table2.FieldValues['业务编号']=FlowNumber then
begin
//Table2.Edit;
Table2.Delete;
//Table1.ApplyUpdates;
//Table2.Post;
end;
Table2.Next;
end;
Table2.Active:=False;
执行时总是出错,说不能在open dataset中执行这步操作,请指教!!!