Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Run time error 3134, syntax error in INSERT INTO statement 1

Status
Not open for further replies.

shaheer1991

Programmer
Jul 13, 2012
2
EG
Private Sub go_Click()

CurrentDb.Execute "INSERT INTO table (User ,ProjectName ,WorkingPackage, Activity) VALUES ('" & Me.User & "','" & Me.PN & "','" & Me.WP & "','" & Me.AN & "')"

subform.Form.Requery

End Sub


says syntax error in insert statement, i seriously can't find what's wrong :)
 
hi,

You have a table named table???

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
dude thx, am soo stupid.. didnt notice it O my good too mee time
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top