我使用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
有人可以帮助我吗?