Rss & SiteMap

Foxtable(狐表) http://www.foxtable.com

新一代数据库软件,完美融合Access、Foxpro、Excel、vb.net之优势,人人都能掌握的快速软件开发工具!
共3 条记录, 每页显示 10 条, 页签: [1]
[浏览完整版]

标题:如何通过窗口名称查找该窗口所在表的名称

1楼
lihe60 发表于:2011/4/11 15:27:00

已经知道一个窗口的名称,如何查找这个窗口所在的表的名称?

2楼
lihe60 发表于:2011/4/11 15:40:00
For Each dc As Table In Tables
    For Each frm As WinForm.Form In Forms
        If frm.name = "窗口1" Then
 MessageBox.Show(frm.TableName )
            Return
        End If
    Next
Next
3楼
lxl 发表于:2011/4/11 19:26:00
MessageBox.Show(Forms("窗口1").TableName)
共3 条记录, 每页显示 10 条, 页签: [1]

Copyright © 2000 - 2018 foxtable.com Tel: 4000-810-820 粤ICP备11091905号

Powered By Dvbbs Version 8.3.0
Processed in .03125 s, 2 queries.