663
社区成员




for li_bit = 1 to li_len
ls_bit = mid(et_nl,li_bit,1)
if isnumber(ls_bit) then
ls_result += ls_bit
elseif ls_bit = "岁" then
messagebox("","到岁跳出循环")
end if
continue
end for
这样能取出来数字但是是拼接的,我让他循环到岁的是后跳出去,但是他循环到岁的时候,ls_bit = "t 就变成了这个了,还少一个引号IF ist_tjxx.jclx = 1 THEN
if upper(dwo.name) = 'etry_tz'then
dw_1.object.etry_tzpj[1] = "中"
end if
END IF
哪里不对吗,为啥没有效果[/quote]
你要学会用debug;自己跟踪下;还有你代码是没问题的;IF ist_tjxx.jclx = 1 THEN
if upper(dwo.name) = 'etry_tz'then
dw_1.object.etry_tzpj[1] = "中"
end if
END IF
哪里不对吗,为啥没有效果