在keydown事件中
begin
if key=13 then
if messagedlg('是否保存',mtinformation,[mbyes,mbno],0)=mryes then
yourtable.post;
end;
begin
if key=13 then
if messagedlg('是否保存',mtinformation,[mbyes,mbno],0)=mryes then
yourtable.post;
end;
解决方案 »
- 这个就是我的主程序(问题在我今天发的第一个帖子中)
- 一个lable的后面要紧跟着另一个lable的后面,该怎么做
- 我在Rave报表上放了一个databand然后在它上面放了一个datatext为什么不能显示datatext中的数呢???
- 请大家指点一下,我的代码有错误么?
- 在三层结构中如果我的GGG.CommandText:= 'select * from nm where bm= '''+edit1.text+''' ';EDIT1.TEXT中有单引号出现就会报错如何解
- 请教:为什么MDI窗口在调用childform时总是出错
- 怎么将RadioButtonn分组啊?up有分
- Com组件问题,急急急!!!
- 如何通过日期知道当天是星期几?
- 谁有Delphi 7写的FTP服务器能给我一份吗?
- 看看下面的程序是什么原因造成错误的
- 怎么用WINSOCK API编支持SMTP认证的邮件发送程序
begin
if key=13 then
if messagedlg('是否保存',mtinformation,[mbyes,mbno],0)=mryes then
yourtable.post;
end;
query1.post;祝:身体健康:!
could not perform the edit becaouse another user changed the record
如何解决呢???