update POS_CHECK_DETAIL
set remark = :ls_room_code
where check_no = :ls_check_no
using g_trans;
set remark = :ls_room_code
where check_no = :ls_check_no
using g_trans;
if g_trans.sqlcode = 0 then
Commit Using g_trans;
else
rollback using g_trans;
MessageBox("出错", "数据库更新失败!", StopSign!)
Return
end if
end if
兰色的地方是不是不妥当啊,有点重复的味道
STUDY AND STUDY—JAVA