以文本方式查看主题

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

--  作者:luodang2050
--  发布时间:2015/7/22 15:46:00
--  子表默认位置的调整?
现有父表A,子表B、C,默认顺序为A.B,A.C,现想将默认顺序对换,及按A.C,A.B排序,应该怎么设置?
--  作者:大红袍
--  发布时间:2015/7/22 16:28:00
--  

在afteropenproject事件写代码

 

Tables("表A.表B").Visible = False

Tables("表A.表C").Visible = False

Tables("表A.表C").Visible = true

Tables("表A.表B").Visible = true