×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Starting up Access so that the Form is the only Option

Starting up Access so that the Form is the only Option

Starting up Access so that the Form is the only Option

(OP)
I have a form that is started up via the autoexec macro. There is a button on the form that people use to exit. I want to 'force' people to exit with the button by removing all other possibilities - i.e. removing both the X on the Form in the top right hand corner, and also removing the X from the Access application Bar. This way - the only way to shut down would be to use my button.
I have sorted the form by removing exit buttons. I have also created a blank toolbar and a blank menubar - but I can't get rid of the Close button (X) on the access application bar.

Any help gratefully received

Dan Auber
DanAuber@aol.com
Dan Auber's Home Page

RE: Starting up Access so that the Form is the only Option

Turn the Modal property of the form to YES, this prevents from clicking anywhere but on the form, however, it also eliminates the use of toolbars.

Brian Famous
bfamous@ncdoi.net

RE: Starting up Access so that the Form is the only Option

(OP)
Sorry - the Modal property setting to yes does not seem to prevent people shutting down my form and my Access application via the Access applicatoin toolbar. Possibly there is no way to disable this. I was thinking that putting something in the On Close function might work ????

Dan Auber
DanAuber@aol.com
Dan Auber's Home Page

RE: Starting up Access so that the Form is the only Option

you're right, it works for everything else but the Close button.
here is another option that i know i've used.  Set both Pop Up and Modal to Yes.
Then create a shortcut for the database on the users desktop.  then in theh shortcut's properties, in the Run window, select Minimized.  what this will do is open Access, pull up your form, but minimize the Access window itself, showing only your form.

Brian Famous
bfamous@ncdoi.net

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close