运行时错误' 2147217900(80040e14)':ORA-09917:缺少逗号

时间:2013-10-10 19:00:12

标签: vb6 project

我使用VB6作为前端,使用oracle10g数据库作为后端。现在 我在我的vb项目中尝试上面的代码:

Con.Open "Provider=MSDAORA.1;Password=pune;User ID=system;Data Source=localhost;Persist Security Info=True"
Rs.CursorLocation = adUseClient

Rs.Open "insert into PARTNER_REQURIMENTS values('" & email.Text & "','" & Val(a1.Text) & "','" & Val(h1.Text) & "','" & ms.Text & "','" & r1.Text & "','" & mt.Text & "','" & mg.Text & "','" & el.Text & "','" & ef.Text & "','" & ai.Text & "','" & c1.Text & "','" & dr1.Text & "','" & s1.Text & "','" & d1.Text & "')", Con, adOpenKeyset, adLockOptimistic
Con.Execute "commit"

...但是我收到了这个错误:

run-time error'2147217900(80040e14)':
ORA-09917:missing comma

有人可以帮助我吗?

0 个答案:

没有答案