Solved

Shortcut menu in Access 2007 Forms

Posted on 2009-07-10
6
1,045 Views
Last Modified: 2013-11-28
Is there any way of enabling the shortcut menu for fields within a Form, for Sorting and Searching, whilst disabling the shortcut menu from the Title Bar of the Form for Saving, Closing and Design View?
0
Comment
Question by:Henry_Harris
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 44

Expert Comment

by:GRayL
ID: 24823991
You have to build your own tool bar to be used in place of the normal forms tool bar when that form is called.  Read all you can find on the form property Toolbar - especially Help in both the Database and VB Editor windows.
0
 
LVL 16

Expert Comment

by:Chuck Wood
ID: 24825428
Here is an article on creating shortcut menus in Access that might help:
http://blogs.msdn.com/access/archive/2009/05/21/how-to-create-a-shortcut-menu-for-a-form-form-control-or-report.aspx 
-chuck wood
0
 
LVL 74

Assisted Solution

by:Jeffrey Coachman
Jeffrey Coachman earned 50 total points
ID: 24827089
Henry_Harris,

"ShortCut Menu" typical refers to the "Right click menu".

If this is what you are referring to, then you can only assign specific Shortcut menus to the individual Forms, not controls on a form.

<whilst disabling the shortcut menu from the Title Bar of the Form for Saving, Closing and Design View?>
Again, I think you have your terms confused.
There is no "ShortCut" menu in the title bar.
What is in the Title Bar are known as "Drop Down Menus"

What you are asking for is certainly do-able.
You have to create a Custom *Toolbar*, (Using the "Built in Menus" Option in the "Commands" tab of the Customize Dialg box) and simply not include what you don't want.
Then you have to change the properties of this toolbar to make it a Menubar.
Then set that Menubar as the Default in the Access StartUp Options.

See this links for detailed info on creating Toolbars/Menubars:
http://learning.londonmet.ac.uk/CCTM/im212/week7/menus.htm

;-)

JeffCoachman
0
Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

 

Author Comment

by:Henry_Harris
ID: 24829524
Thanks for your replies.

Yes I do mean the right-click menus. It would be nice to prevent the Save, Close and Views menu from the title bar of the Form whilst still allowing the Sort and Search menu from any individual field. I think that it can be achieved but the other way round by manipulating the Shortcut Menu Bar property.
0
 
LVL 16

Assisted Solution

by:Chuck Wood
Chuck Wood earned 75 total points
ID: 24838943
Did you read the article on How to: Create a Shortcut Menu for a Form, Form Control, or Report?
http://blogs.msdn.com/access/archive/2009/05/21/how-to-create-a-shortcut-menu-for-a-form-form-control-or-report.aspx 
-chuck wood
0
 

Accepted Solution

by:
Henry_Harris earned 0 total points
ID: 24841709
Thnaks for the last reply. Yes I have looked at the article and it is a way to go. I also clicked the comment was helpful button. I hope this worked
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Access custom database properties are useful for storing miscellaneous bits of information in a format that persists through database closing and reopening.  This article shows how to create and use them.
AutoNumbers should increment automatically, without duplicates.  But sometimes something goes wrong, and the next AutoNumber value is a duplicate.  This article shows how to recover from this problem.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question