I'm new in database programming with VB
. My SQL table has 3 columns. When I update the content of a cell that meets a criteria, I get the Run Time Error '91', Object Variable or With Block Variable Not Set for the Adodc1 line.
My Code is as follows:
Private Sub CmdUpdate_Click()
Text1.Text = "5"
Adodc1.Recordset.Fields("line_no") = Text1.Text
Thanks a lot for the help.