Exit button

J

JD

I have a form in an Access 2007 database, that has an Exit button with a
hyperlink to an online file.

What I'm trying to do is when you click the Exit button, the database closes
and opens the online file. Everything works the way I want except for one
small piece - When the database closes, I get an error message saying that
Access was in the middle of doing something when I closed and asks if I want
to restart Access. Even though the database closes and I get this error, the
online file still opens the way it should.

My question is - How do I avoid having the error pop up? I tried putting a
10 second pause before the Quit command, but it seemed to pause even before
opening the hyperlink and still came up with the error.
 

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