You can't. But what you can do is to program a hidden form to cancel the
event and give the user a message that he must close the form through your
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/information-technology/9626-program-close-access-button-upper-right.html
interface. Be careful to make sure the user understands why because irrate
users can do significant damage to the database should they decide to just
turn off the machine.
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access downloads
http://www.datastrat.com http://www.mvps.org/access
"Philip Leduc"
wrote in message
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=9626
news:uyg9Eb8dGHA.4276@TK2MSFTNGP03.phx.gbl...
> How to I connect an event to the close Access button (white X on red
square)
> .
> The idea is when the user clicks this he will get a warning with the
option
> to cancel before Access closes out completely
>
>