请问以下代码有何错误????
这是一个向子数据窗口添加数据的代码
if lower(dw_1.getcolumnname())="年" then
datawindowchild child
integer code
code=dw_1.getchild("年",child)
if code=-1 then
messagebox("","")
else
child.settransobject(sqlca)
child.retrieve()
boolean isnotin
long ll_rows
ll_rows=child.rowcount()
do while ll_rows>0
if child.getitemstring(ll_rows,"年数")<>dw_1.gettext() then
isnotin=true
// ll_rows
continue
else
isnotin=false
exit
end if
loop
if isnotin=true then
child.insertrow(0)
child.setitem(child.rowcount(),"年数",dw_1.gettext())
end if
if child.update()=1 then
commit;
else
rollback;
end if
end if
end if
if lower(dw_1.getcolumnname())="年" then
datawindowchild child
integer code
code=dw_1.getchild("年",child)
if code=-1 then
messagebox("","")
else
child.settransobject(sqlca)
child.retrieve()
boolean isnotin
long ll_rows
ll_rows=child.rowcount()
do while ll_rows>0
if child.getitemstring(ll_rows,"年数")<>dw_1.gettext() then
isnotin=true
// ll_rows
continue
else
isnotin=false
exit
end if
loop
if isnotin=true then
child.insertrow(0)
child.setitem(child.rowcount(),"年数",dw_1.gettext())
end if
if child.update()=1 then
commit;
else
rollback;
end if
end if
end if
...全文
相关推荐
???? ????? ???? ???? ?????_cell_
sun cell detector for sun
???? ???? ??? ????.rar_multilayer_neural network
this file is about multilayer neural networks
云解决方案性价比调查:服务成本的错误估计对 云战略有何负面影响
本文中,Stratecast 提供了解云性价比影响因素的背景。我们打碎了一些无益的流言,这些流言可能妨碍IT 决策制定者为其工作负载选择最佳云服务。我们逐步介绍了云服务决策中必要的(与工作负载和您的业务相关的)多维考虑事项。我们定义了“性价比”及其对于云实施的影响方式。为了生动描述这个问题的重要程度,我们借助 IBM 提供的现实生活场景,对 IBM SoftLayer 和竞争对手云服务上常见云工作负载相关实际成本进行了比较。最后,我们为希望确保选择最佳云服务的企业提供了一些技巧。
DB2错误代码(DB2错误代码大全)
DB2错误代码大全: DB2 SQLSTATE 消息 异常 SQLSTATE 消息 列示 SQLSTATE 及其含义。SQLSTATE 是按类代码进行分组的;对于子代码,请参阅相应的表。
???? ????.zip_TRTRIS_c语言基础
游戏代码 TETRIS(KOREA) 压缩文件内有c代码,source,exe文件


非技术版
