我想将一张表中的一条数据插入另一表后
在第一张表中删除此数据/
我这样写,不知是否有错
with datamodule2 do 
begin
table2.append;
table1.fieldfyname('内容').asstring:=table2.fields[2].asstring;
table2.post;
table2.close;
table2.open;
tabel1.delete;//这句有错
end;
老提示有另一使用此表
请各位帮忙
正确的该怎么写