以文本方式查看主题

-  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=189407)

--  作者:cjl333333333
--  发布时间:2023/11/30 10:53:00
--  显示不为空的列
老师,您好,如果写条件显示不为空的列?
--  作者:有点蓝
--  发布时间:2023/11/30 10:56:00
--  
tables("表A").filter = "第一列 is not null"
--  作者:cjl333333333
--  发布时间:2023/11/30 13:35:00
--  
这是显示不为空的行吧,是列,不是行。就是空列隐藏。
--  作者:有点蓝
--  发布时间:2023/11/30 13:41:00
--  
if tables("表A").compute("count(第一列)","第一列 is not null") = 0 then
tables("表A").cols("第一列").visible = false
end if