以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  光标定位  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=91284)

--  作者:刘林
--  发布时间:2016/10/6 17:59:00
--  光标定位
Dim txt As String = e.sender.Text
Dim dr As DataRow
Dim po As Integer
dr = DataTables("成绩").Find("考号 = \' & txt &\'") 
po = Tables("上分_table1").FindRow(dr)
If po >= 0 Then \'如果找到
    Tables("上分_table1").Position = po \'选定
End If
老师,我在上分窗口有个textchanged事件中做一个找起始考号光标定位,怎么没反应

--  作者:有点蓝
--  发布时间:2016/10/6 18:16:00
--  
dr = DataTables("成绩").Find("考号 = \'“ & txt &”\'") 

建议花时间好好看看编程基础

--  作者:刘林
--  发布时间:2016/10/6 18:23:00
--  
哦,在看哟,基础很不够,谢谢您的帮助