保存按钮:
with form3.table1 do
begin
try
form3.table1.post;
form14.dbgrid1.Refresh;
except
showmessage('已存在这一条记录。');
end;
end;
两个问题:1:刷新不能。
2:重复按保存按钮报错。