strSQL = "INSERT INTO CASE_CONTACT1 (CASE_ID, CONTACT_ID, DATE_ADDED) VALUES (" & Me.CASE_ID & "," & Me.CONTACT_ID & "," & Format(strDate, "yyyy-mm-dd") & ")"
I am trying to get today's date into the Date_added field. Using the above I get 6/8/1905.
Using below I get 12/30/1899.
strSQL = "INSERT INTO CASE_CONTACT1 (CASE_ID, CONTACT_ID, DATE_ADDED) VALUES (" & Me.CASE_ID & "," & Me.CONTACT_ID & "," & Date & ")"
Can someone assist me in identifying what I am doing wrong?
Thanks
I am trying to get today's date into the Date_added field. Using the above I get 6/8/1905.
Using below I get 12/30/1899.
strSQL = "INSERT INTO CASE_CONTACT1 (CASE_ID, CONTACT_ID, DATE_ADDED) VALUES (" & Me.CASE_ID & "," & Me.CONTACT_ID & "," & Date & ")"
Can someone assist me in identifying what I am doing wrong?
Thanks