I have an sql statement which I was hoping someone may be able to help me with. I'm getting the following errors:
1 - runtime error 3346 (Number of query values and destination values are not the same
2 - Runtime Error 3075 syntax
Please note - I am trying to pull values from a form and enter them into a table...
1 - runtime error 3346 (Number of query values and destination values are not the same
2 - Runtime Error 3075 syntax
Code:
strSql = "INSERT INTO tblConversation ( " & _ "RecordID, LeadID, Conversation, Subject, DateEntered, ContactDate, ContactTime, FollowUpDate )" & _ "Values (" & _ "'" & Me!LeadID & "', " & _ "'" & Me!RecordID & "', " & _ "'" & Me!Conversation & "', " & _ "'" & Me!Subject & "', " & _ "'" & "#" & Date & "#" & "', " & _ "'" & "#" & Me!ContactDate & "#" & "', " & _ "'" & "#" & Me!ContactTime & "#" & "', " & _ "'" & "#" & Me!FollowUpDate & "#" & "', " & _ "FROM frmTenantConvoEntry where Recordid = " & Me!RecordID DoCmd.RunSQL (strSql)
Comment