keep form open using macro?

P

PoniKika

I have a stock control system, and when the database is opened an autoexec
macro opens the password form. this works fine, but the password form can be
closed by clicking the x in the corner, minimising it, clicking into design
view and then closing and closing the database itself. is there any was I
could use coding or a amcro to prevent the user from leaving the password
page or closing the system without first entering the correct password?
please help this is very important.
 
Top