How can you disable the close (X) button on the Database Window?

AccessNub

Registered User.
Local time
Today, 09:38
Joined
Jul 22, 2006
Messages
71
Hi Guys,

I have a database that uses a switchboard with a close button that runs several instructions before it exits. The problem is that some users have access to the database window and I need to prevent them from closing the database by hitting the X in the upper right.

Anyone know how to do this?
 
RuralGuy said:
I suspect you did not try the search function on this forum.
Enable/Disable The Control Box X Button

I already know how to disable the X in the Access Window, what I am referring to is in the database window itself, the place you can see the querys, forms, tables, and reports in. I want to disable the X on that window
 
have a control flag in the app somewhere thats only turned off by your dedicated close app button.

then use the onclose event of your always open startup form, to test whether the close is an authorised one, and if not disallow it.
 
hmm...Maybe I am not being clear as to what I need.

I attached an image of the X I want to kill.

ThisX.jpg
 
I don't believe you can remove the button. You can go to Tools/Startup and check the hide database window box. This way when the database opens the database window will not be visible.
 
Did you look at Dave's sample? Too distracted with OldSoftBoss's Avatar?
 
Last edited:
KeithG said:
I don't believe you can remove the button. You can go to Tools/Startup and check the hide database window box. This way when the database opens the database window will not be visible.

Your "users" should NEVER be able to get to the Db window.

All of a sudden they are "Experts" and the product you are trying to get them to use will become a complete mess with their "enhancements".

If they want changes, sumbit them to yourself so you can implement them (if you feel they are justified) and roll them out universally

Dave
 

Users who are viewing this thread

Back
Top Bottom