integer rtn
if this.text = "保存" then
rtn = dw_1.update()
if rtn = 1 then
COMMIT USING SQLCA
else
ROLLBACK USING SQLCA
end if
parent.title = parent.tag
end if
系统提示有四个语法错误,明明和书上写的一样,怎么会有错误
...全文
2072打赏收藏
保存按钮的代码如下
integer rtn if this.text = "保存" then rtn = dw_1.update() if rtn = 1 then COMMIT USING SQLCA else ROLLBACK USING SQLCA end if parent.title = parent.tag end if 系统提示有四个语法错误,明明和书上写的一样,怎么会有错误
integer rtn
if this.text = "保存" then
rtn = dw_1.update()
if rtn = 1 then
COMMIT USING SQLCA;
else
ROLLBACK USING SQLCA;
end if
parent.title = parent.tag
end if
//sql语句后要加;