Closing DB

D

dandgard

Is there some method of cancelling the closing of Access if I don't wan
to allow the user to exit. I want to force the user to conform to m
open/exit procedures.

I can remove the close buttons on the forms but I don't know how to ge
rid of the Access close buttons (and I just want to disable close, no
min max butttons).

There should be some sort of events that occur when the DB closes, bu
if there are I don't find any reference to them
 
N

Nikos Yannacopoulos

One thing you could do is use a dummy form which is opened at db startup, is
set to invisible and its On Close event fires the exit procedures (unless
you already have a form, e.g. a switchboard, which stays open all the time,
in which case you could use the On Close event of that one instead - I've
been using this trick succesfully).

HTH,
Nikos
 

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