I found the following code for updating a table in MS Access which works fine
How can I expand this to update other data on the same row. Example: Update the field “CarReg” from TextBox2.Text and update the filed “Speed” from TextBox2.Text
Thanks
Code:
OleDbUpdateCommand1.CommandText = _
"UPDATE tblStats SET CarNames=" & _
"'" & TextBox1.Text & _
"' WHERE ID=" & IDTextBox.Text & " ; "
Thanks