Foxtable(狐表)用户栏目专家坐堂 → [求助]在后台上面把搜索结果定位在当前表上


  共有1993人关注过本帖树形打印复制链接

主题:[求助]在后台上面把搜索结果定位在当前表上

帅哥哟,离线,有人找我吗?
有点蓝
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:超级版主 帖子:107014 积分:544295 威望:0 精华:9 注册:2015/6/24 9:21:00
  发帖心情 Post By:2016/10/17 21:30:00 [显示全部帖子]

Dim dr As DataRow
Dim filter As String = "[F390] = '" & Forms("目录").Controls("TextBox1").value &"'"
dr = DataTables("T28").Find(filter )
If dr Is Nothing Then
    Dim drs As List(of DataRow) = DataTables("T28").AppendLoad(filter)
    If drs.Count > 0 Then
        Dim wz As Integer = Tables("T28").FindRow(drs(0))
        If wz >= 0 Then
            Tables("T28").Position = wz
        End If
    End If
End If

 回到顶部