Wrox Programmer Forums
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 3rd, 2004, 07:23 PM
Friend of Wrox
 
Join Date: Aug 2003
Posts: 137
Thanks: 0
Thanked 0 Times in 0 Posts
Default Menus and pop-up windows


I have just built a Access 2000 database for a local charity I volunteering for, and am wanting to make it a stand lone application. Being a little rusty with my Access skills I was wondering if somebody could advise me how I can make my control form start straight up and hide table definitions etc. from the user? By doing this I also want to limit the menu functions when the database is run.

I know these things are possible, but I cannot remember how to do it. I would appreciate somebody pointing me in the right direction. I have tried doing a search using the Access help but can' t find what I am looking for.

Gaz
__________________
Gaz
 
Old March 3rd, 2004, 09:32 PM
Authorized User
 
Join Date: Feb 2004
Posts: 98
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Open the 'Tools' menu, 'Startup' and you can set things like start up form and there are a number of tool bar options that meet many of your basic needs. You can also name a macro 'autoexec' and have it run (RunCode) a function procedure that opens one or more forms and allows/disallows toolbars depending on which user is opening the application or the name of the computer on which it is run. For example, I have a procedure that returns the NT login (not shown below) that only allows me to use the built in toolbars:

If gUser <> "jurgenw" Then Application.SetOption "Built-In Toolbars Available", False


Ciao
Jürgen Welz
Edmonton AB Canada
[email protected]
 
Old March 4th, 2004, 12:09 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 308
Thanks: 0
Thanked 0 Times in 0 Posts
Default

If you want to massively limit your users - i.e. not let them do ANYTHING other than use your forms - set them all to maximize on load and set the border style to none.
Once you've done that, and you're sure your database works perfectly, you can set the "Shortcut Menu" property of all your forms to No

Steven

I am a loud man with a very large hat. This means I am in charge
 
Old March 4th, 2004, 04:59 AM
joefawcett's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

You can also give then an MDE, a compiled form of DB under Tools|Databsse Utilities. Make sure you keep an uncompiled version for yourself:)

--

Joe
 
Old March 4th, 2004, 06:00 AM
Friend of Wrox
 
Join Date: Aug 2003
Posts: 137
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for all your help it's most useful. My knowledge is flooding back lol. What I was also trying to ask is how I can limit the functions on the Access menu bar when the database is run?

Gaz
 
Old March 4th, 2004, 06:35 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 308
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You could create your own menu bars, and hide all the others

I am a loud man with a very large hat. This means I am in charge





Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with Pop-up Menus JazzyJ Dreamweaver (all versions) 0 July 12th, 2006 12:17 AM
dynamically generated pop up menus... elladi Dreamweaver (all versions) 7 August 1st, 2004 03:31 AM
frames and pop-up menus like oil and water? bee Dreamweaver (all versions) 1 October 26th, 2003 02:58 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.