Hi,
From the posts I'm a little unclear if you mean disabling
the form's "X" button or the main Access "X" button. If
you want to disable the main Access "X" button that's
pretty easy to do. I use these techniques. They work great.
Take your pick based on version.
ACC: How to Disable the Close Button (X) on the Access
Application Window (95/97)
http://support.microsoft.com/?id=258049
ACC2000: How to Disable the Close Button (X) on the Access
Application Window
http://support.microsoft.com/?id=245746
ACC2002: How to Disable the Close Button (X) on the Access
Application Window and the Exit Command on the File Menu
http://support.microsoft.com/?id=300688
Alternatively, take a look here:
http://www.mvps.org/access/general/gen0005.htm
Hope that helps,
Jeff Conrad
Bend, Oregon