Syntax Error in code I wrote (1 Viewer)

SanHall

New member
Local time
Today, 18:28
Joined
Dec 20, 2001
Messages
7
Can someone tell me what is wrong with this statement. I get an error message stating Run Time erro 3134 Syntax error in statement. Not sure what to do. Can anyone help??

DoCmd.RunSQL "INSERT INTO [tblProductionInformation]![cur] VALUES Forms![frmProductionEntry]![cur]);"
 

The_Doc_Man

Immoderate Moderator
Staff member
Local time
Today, 12:28
Joined
Feb 28, 2001
Messages
27,188
That pesky little 's' at the end of your "Forms![...." is the culprit.

If this code is behind the form you really wanted to use, try "Me![cur]"
 

Users who are viewing this thread

Top Bottom