Rss & SiteMap

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

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

标题:窗口选择子表的单元格?

1楼
puma 发表于:2023/11/24 10:15:00
图片点击可在新窗口打开查看

现在的代码是:
Dim t As Table = CurrentTable
    Dim Positionrow As Integer
    
    Positionrow = t.Position
    '获取当前行
    
    Dim c As Col = t.Cols(t.ColSel)
    Dim Colname= c.Name

t.Rows(Positionrow)(Colname)="值" ' 赋值


问题是:但是需要切换maintalbe ,(切换后,另一个界面的数据后变更)
           如果不切换mantable ,需要手动单击下表B的单元格

需求是 不切换maintalbe,怎么自动定位到表B的已选择的单元格

2楼
有点蓝 发表于:2023/11/24 10:21:00
Dim t As Table = CurrentTable
改为
Dim t As Table = Tables("表B")
共2 条记录, 每页显示 10 条, 页签: [1]

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

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