以文本方式查看主题

-  Foxtable(狐表)  (http://www.foxtable.com/bbs/index.asp)
--  专家坐堂  (http://www.foxtable.com/bbs/list.asp?boardid=2)
----  专业报表  (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=75853)

--  作者:kaituozhe
--  发布时间:2015/10/15 20:23:00
--  专业报表
rt.Text = "(2)" & "销售金额" & "[Fields!销售金额.Value]" & "元,退货金额" & "[Fields!退货金额.Value]" & "元,实际销售" & "[iif(Fields!实际销售.Value = 0 ,\'wwerwerwer\',Fields!实际销售.Value)] "& "元,销售次数" & "[Fields!销售次数.Value]" & "次."
红色部分不知道是什么原因,不能实现目的,我的想法是如果实际销售为0则显示wwerwerwer,否则显示实际销售额,怎么改,有没有其他方法

--  作者:大红袍
--  发布时间:2015/10/15 20:26:00
--  
rt.Text = "(2)" & "销售金额" & "[Fields!销售金额.Value]" & "元,退货金额" & "[Fields!退货金额.Value]" & "元,实际销售" & "[iif(Fields!实际销售.Value = 0 ,""wwerwerwer"",Fields!实际销售.Value)] "& "元,销售次数" & "[Fields!销售次数.Value]" & "次."