Prevent access from closing by the File - close menu

E

Erik

I have restricted the user from closing access by the "x" but how can i do this and include the File menu - close option

Erik
 
D

Dirk Goldgar

Erik said:
I have restricted the user from closing access by the "x" but how can
i do this and include the File menu - close option?

How did you go about keeping 'the user from closing access by the "x"'?
The method I've used for doing this is to have a form that cancels its
Unload event. But that method also keeps the database from being closed
by the File -> Close menu item. Or are you saying that you want to
*allow* File -> Close to close Access, but not allow the "X" button on
the application window to close it?
 
E

Erik

Hi,

its the same method im trying, must have done something wrong because the user manages to close access from file menu. I go back and look at my code once moore..

Erik
 

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