Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21292

VB6.0 HELp ADO error

$
0
0
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

Viewing all articles
Browse latest Browse all 21292

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>