guys good day im a newbie here and im not that good in VB6 and im not that good in english so sorry for my bad grammar, , i have a problem in my system i dont know what is wrong in my codings. so here's my problem, i'd like to save the information in database and i used ADODC, i test the connection and its successful. and my codes in my save button is this
Adodc1.Recordset.Fields("Last Name") = Text1.Text
Adodc1.Recordset.Fields("First Name") = Text2.Text
Adodc1.Recordset.Fields("Middle Name") = Text3.Text
Adodc1.Recordset.Fields("Username") = Text4.Text
Adodc1.Recordset.Fields("Password") = Text5.Text
Adodc1.Recordset.Update
and when i run the program there's an error says "object variable or block variable not set". how am i going to fix this? anyhelp would be highly appreciated,, thank you
Adodc1.Recordset.Fields("Last Name") = Text1.Text
Adodc1.Recordset.Fields("First Name") = Text2.Text
Adodc1.Recordset.Fields("Middle Name") = Text3.Text
Adodc1.Recordset.Fields("Username") = Text4.Text
Adodc1.Recordset.Fields("Password") = Text5.Text
Adodc1.Recordset.Update
and when i run the program there's an error says "object variable or block variable not set". how am i going to fix this? anyhelp would be highly appreciated,, thank you