Foxtable(狐表)用户栏目专家坐堂 → 求助查找窗口问题


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

主题:求助查找窗口问题

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


加好友 发短信
等级:超级版主 帖子:106809 积分:543246 威望:0 精华:9 注册:2015/6/24 9:21:00
  发帖心情 Post By:2021/9/22 9:11:00 [显示全部帖子]

Dim dr As DataRow=DataTables("hp1").find("中类代码 ='" &  str & "'")

另外查一次就行了,何必查2次:http://www.foxtable.com/webhelp/topics/0553.htm

Dim tbx As WinForm.TextBox = e.Form.Controls("Textfind")
Dim str As String = tbx.value
    Dim idx As Integer = Tables("中类代码").findrow("中类代码 ='" &  str & "'")
    If idx >= 0 Then
        Tables("中类代码").position= idx
    End If

 回到顶部