can you help me with this syntax? i have a table (datapenjualan) and i want to update data with this code, but always error in ExecuteQuery "data type is mismatch" here my database in access

and here my code with datetime in primarykey 'Archive' to update data, 1 combobox to explain choose storage, 2 groupbox to ordner and lemari, and combobox again in groupbox and datetime
Private Sub save_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles save.Click
If storage.SelectedIndex = 1 Then
str = "Update datapenjualan set BulanOrdner = '" & bulanordner.Text & "', TahunOrdner = '" & tahunordner.Text & "' Where Archive = '" & tanggalarchive.Text & "'"
proses.ExecuteNonQuery(str)
MsgBox("Data Has Been Saved", MessageBoxButtons.OK)
Call bersih()
Else
If storage.SelectedIndex = 2 Then
str = "Update datapenjualan set Lemari = '" & lemari.Text & "', BulanLemari = '" & bulanlemari.Text & "', TahunLemari = '" & tahunlemari.Text & "'Where Archive = '" & tanggalarchive.Text & "'"
proses.ExecuteNonQuery(str)
MsgBox("Data Has Been Saved", MessageBoxButtons.OK)
Call bersih()
End If
End If
End Sub
Private Sub storage_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles storage.SelectedIndexChanged
If storage.SelectedIndex = 1 Then
groupordner.Visible = "True"
grouplemari.Visible = "False"
Else
If storage.SelectedIndex = 2 Then
groupordner.Visible = "False"
grouplemari.Visible = "True"
End If
End If
End Sub
tahunlemari.Textandtahunordner.Textinstead oftahunlemari.Valueandtahunordner.Valuems access is failing to convert that into a date time and Esko is correct, use oledb parameters on your query...you can watch the video below if you need some examples on how to do it > youtu.be/UtE3kkQR7_w?t=419 - LordKhutz