t小宝 发表于 2011-4-4 10:52
Me.txthxianxs= IIf(Val(nz(Me.txthxian)) = 0, Null, (Val(nz(Me.txthxian)) * val(nz(Me.txtpt0)))
t小宝 发表于 2011-4-4 11:03
试试:
Me.txthxianxs= IIf(Nz(Me.txthxian,0)=0, Null, nz(Me.txthxian,0) * nz(Me.txtpt0,0))
t小宝 发表于 2011-4-4 20:42
真是糊涂,这样应该可以:
Me.txthxianxs= IIf(Nz(Me.txthxian,0)=0 Or Nz(Me.txthxian,"")="", Null, nz( ...
欢迎光临 Office中国论坛/Access中国论坛 (http://www.office-cn.net/) | Powered by Discuz! X3.3 |