G'day All,
I'm facing with SQL code that not allowed me to insert value into table.
CurrentDb.Execute "INSERT INTO IssuesTbl (Complete) Where PartNumber = " & Me.PartNumber & " AND IssueID = " & Me.cmbID & "" & _
"VALUES('CLOSE')"
Your advice is highly appreciated.CloseSQL = "SELECT Complete FROM IssuesTbl Where PartNumber ='" & Me.PartNumber & "' AND ID = '" & Me.cmbID & "'"
CurrentDb.Execute "INSERT INTO CloseSQL(Complete)" & _
"VALUES('Close')"
ID PartNumber Issues Link Complete 3 123 Good year 123