-- 作者:初级狐鸟
-- 发布时间:2012/7/25 16:20:00
-- 设计了个搜索按键,怎么使用会弹出一个这个错误呢?
搜索按键代码:
Dim txt As String = e.Form.Controls("TextBox13").Text Dim tbl As Table = Tables("员工档案之办公室") If txt = "" Then tbl.Filter = "" Else txt = "\'*" & txt & "*\'" tbl.Filter = "序号 Like " & txt & " Or 员工姓名 Like " & txt & " Or 性别 Like " & txt & " Or 毕业学校 Like " & txt & " Or 专业 Like " & txt & " Or 持证情况 Like " & txt & " Or 联系方式 Like " & txt & " Or 是否购买社保 Like " & txt & " Or 备注 Like " & txt
End If
Dim t1 As WinForm.TextBox = e.Form.Controls("TextBox14") t1.Value = "本次查询表中共有" & tbl.Rows.count & "条记录"
错误图示:
此主题相关图片如下:vgqh4rbcjh@%h~~@4l~)49y.jpg
|