以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  [求助]  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=61437)

--  作者:新航程小何
--  发布时间:2014/12/12 11:42:00
--  [求助]

各位老师,我想实现一下功能怎么弄?我做的系统有一百多张表,但是在窗口中我只想显示其中的几张表,我现在的代码是:

   TableCaptionVisible = False

    Tables("集团公司").visible=True

    Tables("部门").visible=True

    Tables("职务").visible=True

     Tables("员工信息表").visible=True

 结果,在实现的时候,表头全都没了?请问各位老师问题出在哪了?我该怎么改代码?

 


--  作者:Bin
--  发布时间:2014/12/12 11:44:00
--  
TableCaptionVisible = False  这个去掉

for each  t as table  in tables
   t.visible=false
next

Tables("集团公司").visible=True

    Tables("部门").visible=True

    Tables("职务").visible=True

     Tables("员工信息表").visible=True


--  作者:新航程小何
--  发布时间:2014/12/12 11:48:00
--  
非常感谢,已经实现