以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  [求助]  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=84080)

--  作者:喜羊羊
--  发布时间:2016/4/22 16:16:00
--  [求助]
哪位大师能指点,选择下拉组合框的内容如“客户名称”,怎样使指针定位到客户表里的“客户名称”的那一行,面不是改变“客户名称”的内容呢?
--  作者:大红袍
--  发布时间:2016/4/22 16:22:00
--  

TextChanged事件

 

Dim idx As Integer = Tables("客户").FindRow("客户名称 = \'" & e.Sender.Text & "\'")

If idx >= 0 Then

    Tables("客户").Position = idx

End If


--  作者:喜羊羊
--  发布时间:2016/4/22 16:58:00
--  
谢谢!