Tables("表A").visible = True
MainTable = Tables("表A")
后面我加上了Forms("窗口1").Close
Tables("表B").visible = True
MainTable = Tables("表B")
Forms("窗口1").Close
假如没有中间这个代码是不是可能就还是默认显示表A?