Get runtime error 91



Programming Help Forums
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



Get runtime error 91 Expand / Collapse
Author
Message
Posted 5/24/2009 11:08:22 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 7/13/2009 2:49:30 PM
Posts: 5, Visits: 14
I'm just learning Visual basic and the site that I use to learn has me put this code in and I get an runtime error 91 that says Object veriable or With block Veriable not set.
heres the code:

Private Sub cmdConfirm_Click()
adoReg.Recordset.Fields("user") = txtun.Text (this is where the error shows up)
adoReg.Recordset.Fields("pass") = txtpass.Text
adoReg.Recordset.Update

frmReg.Hide
frmLogin.Show
End Sub

What is it that I need to do?


Christopher J. Crandall
Post #3822
Posted 12/10/2010 8:27:58 AM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: 12/26/2010 8:36:23 AM
Posts: 11, Visits: 2
See if you installed Adobe then try the xtun.Text again.

In a world without walls, who needs Windows?
Post #5692
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: ProgrammingHelp, Viral Unity, Matt.Hill, DaveL, Alex.D

Permissions Expand / Collapse

All times are GMT -5:00, Time now is 9:48am

Powered By InstantForum.NET v4.1.4 © 2012
Execution: 0.203. 10 queries. Compression Disabled.