Good morning all.
I'm trying to copy information from a unbound txt box on a form into my table and I am having trouble with the formatting:
table name: tblNewJoinDate
Field Name: Last Run
Form txtbox name: New Join Date
I'm getting a SQL INSERT INTO formatting error message
Thanks for any help.
Scott
I'm trying to copy information from a unbound txt box on a form into my table and I am having trouble with the formatting:
table name: tblNewJoinDate
Field Name: Last Run
Form txtbox name: New Join Date
I'm getting a SQL INSERT INTO formatting error message
Code:
Private Sub New_Join_Date_Change()
Dim SQL As String
SQL = "INSERT INTO tblNewJoinDate (Last Run) VALUES (" & Me.New_Join_Date.Value & ");"
DoCmd.RunSQL SQL
End Sub
Thanks for any help.
Scott