Hello In a MDI application, I have a login form that is not a child. there is an ado data control that is linked to a user table that allows users to be added and removed from the database application. In the click event for cmdOK after the user enters their user name and password, I wrote the following code:
adoUser.recordset.find "Rights ='" & txtUserName.Text & "'"
The problem is Whenever the user clicks ok error message 91 comes up saying, "object variable or with block not set". What could possibly be the problem

Thanks in advance for any help