Missing shortcut menus

  • Thread starter Thread starter Tony Vrolyk
  • Start date Start date
T

Tony Vrolyk

I am creating quite a few shortcut menus for my application. For some reason
the last few I created bumped off other menus which of course causes errors
when I try to call them

Is there a limit to the numer of custom shortcut menus you can create? I
have created more in other apps so I would guess no. Is there some known bug
for this issue? I have tried MS KB and these groups and found nothing. Only
one old post for a similar problem with AC97 which the poster said was never
resolved.

Help!
Tony
 
Hum, you don't say how many you created.

I have not seen your problem.

Also, I am note sure what you mean by "call them".

I was under the impression you build the short cut menus, and then in the
"other" tab for a form..you specify which short cut menu you want for the
form. Building, and creating menus..and then specify what forms get what
menus takes zero code. Of course, no doubt many of your menu options will
call your custom code you place in a module.

If you are talking about less then 100 menus..then I can't see any problems
of a limit...
 
By call them I simply mean when you are using the form and right-click.

And I am far below 100. Only 15 or so. And as I said I have created more
than that on other apps so I agree it is not a limit problem. The only thing
I can think is that some menus are 'empty' - meaning I create the menu and
the menu item but do not give it an action. This is just my way of thinking
about what should go where. They of course will eventually have actions as
development continues.

Would you think Access would even care that the items on the menu don't do
anything? This is very frustrating. I am working on a program that will be
released to the public and I have commited to a June 1 BETA test, so this is
critical to get resolved.

Thanks
Tony
 
Still happening after making sure all menu items had an action.

It seems that the same ones keep gettng dropped. I wonder if I am useing a
reserved word. But it could also be because they were the most recently
added menus. But in case of the name conflict here is the name of the last
menu and menu item to get lost

Menu "Events_Orders_Subform"
Menu Item "Cancel This Order"

So for I think only menus with the name Events* are getting dropped but they
all have the same structure as the one above so I would think they would
avoid any name conflicts.

I am also trying to notice a pattern of when they get dropped. The only
thing I can think of so far is that I occasionaly connect to a copy of the
mdb that is stored on another PC on the network where my wife is doing
testing for me.

I am using Office XP Dev SP3. PC is XP Pro SP1. I could use one of my 2
free support incidents if need be.

Tony
 
By call them I simply mean when you are using the form and right-click.

Ah..ok..that sounds good to me!
Would you think Access would even care that the items on the menu don't do
anything?

No, that would not be related to your problem in any way.

You could try importing everything into a blank mdb file..and see if that
helps. When you do the importing of all the stuff, you can also import the
tool/menu bars (just hit the "options" button..and in the options you will
see a option to import the menus/toolbars...).

If you not using any code to modify the menus....then I am somewhat at a
loss as to why you are loosing those menus.

You might try NOT using under score characters...but that is kind of a long
shot ....
 
I am using code to modify the enabled status of the menu items based on the
status of records in the form where the menu is used. Below is a sample of
what I am using. I use this code extensively in two other apps without
problems. But the were/are developed on another PC if that makes any
difference. Watch for word wrap.

Function Events_Orders_Buttons()
If Forms!Events.Closed = True Then
CommandBars("Events_Orders_Subform").Controls("Cancel this
Order").Enabled = False
Else
If Forms!Events!Subform.Form.RecordsetClone.RecordCount = 0 Then
CommandBars("Events_Orders_Subform").Controls("Cancel this
Order").Enabled = False
Else
CommandBars("Events_Orders_Subform").Controls("Cancel this
Order").Enabled = True
End If
End If
End Function

I has also thought of importing all to a new mdb which I will try later
today and see what happens.
 
Back
Top