Close program problem?

G

Guest

Hi!
I have a question about closing Access program. When I close it(shut down
the program), there is no exit button. I use the "X" button on the right
upper icon. But when I use it, it will popup an error message window. It said
"The expression On Close you entered as the event property setting produced
the folliowing error: Object variable or With block variable not set.
* The expression may not result in the name...................."
I need to press OK button to quit it. Is this come from the switchboard
coding? Is anyway to find out where casue this error?

Thank you very much.

fox
 
W

whicks

Most likely in the Database, you have an 'ON Close' operator that is
running when you close the Database and it is not operating correctly.

It could be in a macro, which I think is 'Quit'. Check that and if
you can, remove it.

Or, press Alt F11 and look at your VB code. And find 'On Close' and
comment out that block to stop it from running.
 

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