I get runtime error 91

Discussion in 'Software' started by chris6690, May 24, 2009.

  1. chris6690

    chris6690 Private E-2

    I'm programming in visual basic 6.0 and the totorial that I'm using has me put in the code:

    Private Sub cmdConfirm_Click()
    adoReg.Recordset.Fields("user") = txtun.Text
    adoReg.Recordset.Fields("pass") = txtpass.Text
    adoReg.Recordset.Update

    frmReg.Hide
    frmLogin.Show
    End Sub

    and when I click the button I get the runtime error 91 Object veriable or with block veriable not set.

    What is it I have to do to fix this?
     
  2. Assembler

    Assembler Private E-2


MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds