But Im trying to create a SQL statement to overwrite an existing single record in access.
I tryed using this statement but it comes up with an error saying "query input must contain at least one table or query." ive been trying for a couple of hours and thats the error i get basiclly saying im way of track. Can anyone help please? The code i have so far is...
Expand|Select|Wrap|Line Numbers
- Dim mySQL As String
- mySQL = "INSERT INTO Journal ( Description )"
- mySQL = mySQL + " VALUES (Me![Comment])"
- mySQL = mySQL + " WHERE (((Journal.'Journal ID') = 3))"
- DoCmd.RunSQL mySQL
Thankyou for your help! :)