Could someone please tell me what is wrng with the following statement. I'm trying to execute a SQL statement in VBA. I've been working on this one statement for an hour and am starting to get frustrated.
Edit:
BTW it is a runtime syntax error '3134'
Edit II:
OK I tried
with the same result. Any ideas?
DoCmd.RunSQL "INSERT INTO TBL_Base_Year[(Year[,Revision])] VALUES(" & [List_Base_Year].[Value] & "[," & [List_Base_Revision].[Value] & "])"
Edit:
BTW it is a runtime syntax error '3134'
Edit II:
OK I tried
DoCmd.RunSQL "INSERT INTO TBL_Base_Year(Year,Revision) VALUES('" & [List_Base_Year].[Value] & "'," & [List_Base_Revision].[Value] & ")"
with the same result. Any ideas?