Foxtable(狐表)用户栏目专家坐堂 → 填充不为空值的列名并打印


  共有279人关注过本帖树形打印复制链接

主题:填充不为空值的列名并打印

帅哥哟,离线,有人找我吗?
有点蓝
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:超级版主 帖子:107604 积分:547323 威望:0 精华:9 注册:2015/6/24 9:21:00
  发帖心情 Post By:2024/5/19 20:33:00 [显示全部帖子]

dim s as string
for each c as col in tables("某表").cols
if c.name like "一般防护用品_*" then
if tables("某表").comoute("count(" & c.name & ")", c.name & " is not null") > 0 then
s = s & ";" & c.name
end if
end if
next
msgbox(s)

 回到顶部