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


  共有2278人关注过本帖平板打印复制链接

主题:求助查找窗口问题

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


加好友 发短信
等级:超级版主 帖子:107440 积分:546479 威望: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

 回到顶部