以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  关于定位到某一行  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=71279)

--  作者:sara
--  发布时间:2015/7/8 15:56:00
--  关于定位到某一行
我在两个客户端同时用某个表,表的展现方式是在Table中,我想实现的是如果当前在某个编号对应的行,在重新加载Table中表格后,仍然能够根据编号定位到这一行,我该如何实现?
--  作者:大红袍
--  发布时间:2015/7/8 15:59:00
--  

Dim bh As String = Tables("表A").Current("编号")

Tables("表A").DataTable.Load

Tables("表A").Position = Tables("表A").FindRow("编号 = \'" & bh & "\'")