close button

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I want to try to not have users use the black X to close out of access is
there a way to do this. I put a close button on each form for them to use.
Thanks
Chey
 
To close Access altogether use

application.quit

to close a form, etc use

DoCmd.Close ObjectType, "ObjectName"

Example:
DoCmd.Close acForm, "form1"

Daniel
 
I understand that part. What keeps happening is in one of my forms the
person needs to use the command button, if they don't then they can not
complete there travel request. Travelers are using the black X. When they
click on it I want it to beep and and proceed to close that form. I want it
to force them to use the command button.
Thanks for your help.
 
The easiest way to force your users to use the command button is to remove
the close control from the form. In the format tab of the property sheet
for the form itself, set Close Button to No.

HTH,

Rob
 
perfect thank you!!!

Rob Parker said:
The easiest way to force your users to use the command button is to remove
the close control from the form. In the format tab of the property sheet
for the form itself, set Close Button to No.

HTH,

Rob
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top