很奇怪的问题,不知道我理解争取了没有。
看看这个属性:
http://www.foxtable.com/help/topics/0832.htm
在这个事件设置代码:
http://www.foxtable.com/help/topics/0833.htm
代码大概:
Dim tab As WinForm.TabControl = e.Sender
Select Case tab.SeletedPage.Text
Case "页面名称1"
MainTable = Tables("表1")
Case "页面名称2"
MainTable = Tables("表2")
Case "页面名称3"
MainTable = Tables("表3")
End Select