level 2
系统提示“语法错误,操作丢失”Adodc1.RecordSource = "select * from 用户 where 用户名='" & Text1.Text & "'"请教:我这里错在那了
2006年05月17日 13点05分
1
level 2
我追综了一下 是Adodc1.RecordSource = "select * from 用户 where 用户名='" & Text1.Text & " '" Adodc1.RefreshAdodc1.Refresh这里错误 系统提示“语法错误,操作丢失”我不明白自己错在哪了
2006年05月17日 14点05分
4
level 1
-_-|||我说的是你 "用户名=" 这个等号,你用了全角的
2006年05月17日 14点05分
5
level 13
一般我都使用 chr(34) 与 chr(39) 取代单双引号,看了一堆 ' "" 反而乱.
2006年05月18日 12点05分
7
level 1
你把等号 换成 like 试试!!Adodc1.RecordSource = "select * from 用户 where 用户名 like '%" & Text1.Text & "%'" Adodc1.Refresh 这个应该是没有问题的!!
2007年03月30日 09点03分
8
level 0
Dim rs As New ADODB.RecordSourcers.Open "SELECT* FROM 数据库 WHERE 用户名='" & Text1.Text & "'", conn, adOpenStatic, adLockOptimistic你想找的是不是这个
2007年03月31日 00点03分
11
level 13
Dim appdisk$appdisk=trim(app.path)if right(appdisk,1)<>"\" then appdisk=appdisk & "\"Adodc1.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & appdisk & "bwscale.mdb;Persist Security Info=False" Adodc1.RecordSource = "select * from bwmain where 用户名=" & Chr(39) & Text1.Text & Chr(39)
2007年03月31日 03点03分
13
level 0
Adodc1.RecordSource = "select * from 客户信息表 where 旅游编号= '" & Text1.Text & "'"msgbox 旅游编号运行完这句,结果旅游编号=""请高手指点下
2008年05月28日 10点05分
14
level 0
Adodc2.RecordSource = "select *from 药品信息 where 药品编号 ='" & Trim(Text8) & "'"总是说"标准表达式类型不匹配"该如何改啊?请高手指点!
2008年11月28日 01点11分
15
level 1
Adodc1.RecordSource = "select * from 客户信息表 where 旅游编号= '" & Text1.Text & "'" adodc1.refreshmsgbox adodc1.recordset.fields("旅游编号")试试看可不可以
2008年11月29日 09点11分
17
level 13
Adodc2.RecordSource = "select * from 药品信息 where 药品编号 =" & Chr(39) & Text8.Text & Chr(39)
2008年11月29日 10点11分
18