Automation Error

B

Brad

Thanks for reading my question.

I have a db that has worked until 5 minutes ago. All I
have added is a few menus. Now when I open the db all I
get is automation errors.

What are they and how do I get rid of them.

It is currently getting stuck on IsNull in the following.

I don't see anything wrong with the code, and It worked 5
minutes ago.

I had this problem before, and I had to copy all the
tables, forms, macros, modules and reports to a new DB
and it worked. It seems to me that after I made the
menus I started getting this problem last time.

Private Sub Form_Current()
If IsNull(Me.TheUserName) Then Exit Sub
NewUserName = Me.TheUserName.Value
End Sub

Thanks so much for your help.

Brad
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top