G
Guest
how can I prevetn a user from closing an Access document by clicking on the uper right hand side X button?
how can I prevetn a user from closing an Access document by clicking on the uper right hand side X button?
Thanks for your help but I am not try to avoid closing a form but the entire database itself. That is what I trying to avoid. In the MVP website there some code for that but for some reason the logic is failing. It works well for minimazing the DB but not to hide which is probably what I am lookig for. I get an error message that reads "Cannot hide Access unless a form is on screen". See code below: