I have the following code that I have read and made changes to for the last 3 hours and just can seam to get it working.
The error I get is "Syntax error in INSERT INTO statement"
Private Sub AddRecord_Click()
'Add the form details to the table
CurrentDb.Execute "INSERT INTO (Transactions (tDate, category, transAmount, transDescription) " & _
"VALUES & (" & _
"'" & Me.txt_tDate & "', " & _
"'" & Me.cmb_Category & "', " & _
"'" & txt_TransAmount & "', " & _
"'" & Me.txt_transDescription & "' " & _
")"
End Sub
The form has 4 fields as above with the tDate being set to Date() by default and all others as short text or number.
Any advice welcome.
Thanks