if dw_1.rowcount()>0 then
if dw_1.update()=1 then
commit;
messagebox('提示','数据保存成功!')
else
rollback;
messagebox('提示','数据保存失败!')
end if
end if
//dw_1为数据窗口控件
...全文
463打赏收藏
这样可以更新数据库吗?
if dw_1.rowcount()>0 then if dw_1.update()=1 then commit; messagebox('提示','数据保存成功!') else rollback; messagebox('提示','数据保存失败!') end if end if //dw_1为数据窗口控件