0

单击控件时,它在 insert into 语句中给我一个运行时错误 3134 语法错误。

Private Sub CmdAddNew_Click()
'add data to table
CurrentDb.Execute "INSERT INTO tblemployee(,firstname,lastname,Address,city)" & _
"VALUES('" & Me.txtfirstname & "','" & Me.txtlastname & "','" & Me.txtaddress & "','" &     Me.txtcity & "')"
4

1 回答 1

0

tblemployee(,firstname

这里多加逗号?

于 2013-09-27T06:41:15.230 回答