PC Review


Reply
Thread Tools Rate Thread

A2007: Custom Menu problem

 
 
Jim Gainsley
Guest
Posts: n/a
 
      2nd Jun 2007
We moved a database with a 10 button custom menu from A2003 where it ran
fine to A2007 where it hangs on everyone of the 10 buttons. No messages. We
did try the Analyze Macro tool and checked one of the buttons and got a
response which said to convert the macro to VB. But, NOT to convert it if it
was part of a custom menu, which it is. Anyone have any thoughts on how we
should proceed? (We are not overly familiar with Access, so we probably
will need a step by step solution,) We can access all of the tables and
other data in the database.



 
Reply With Quote
 
 
 
 
Arvin Meyer [MVP]
Guest
Posts: n/a
 
      2nd Jun 2007
Try converting it to VB anyway. I'm guessing that your macros have security
permission problems. To open a form, the code needs to simply be something
like (aircode):

Sub cmdMyButton_Click()
On Error GoTo Error_Handler
DoCmd.OpenForm "Your form name"
Exit_Here:
Exit Sub
Error_Handler:
MsgBox Err.Number & ": " & Err.Description
End Sub

Without any error handling, you'll never get any reasonable cause for a
problem.

--
Arvin Meyer, MCP, MVP
http://www.datastrat.com
http://www.mvps.org/access
http://www.accessmvp.com

"Jim Gainsley" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> We moved a database with a 10 button custom menu from A2003 where it ran
> fine to A2007 where it hangs on everyone of the 10 buttons. No messages.
> We did try the Analyze Macro tool and checked one of the buttons and got a
> response which said to convert the macro to VB. But, NOT to convert it if
> it was part of a custom menu, which it is. Anyone have any thoughts on
> how we should proceed? (We are not overly familiar with Access, so we
> probably will need a step by step solution,) We can access all of the
> tables and other data in the database.
>
>
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom Menu in A2007 Glenn Siswick Microsoft Access 3 28th Mar 2008 07:28 PM
A2007 custom toolbar =?Utf-8?B?RGV2ZWxvcGVybWU=?= Microsoft Access VBA Modules 0 29th Jun 2007 05:20 PM
Custom Menu Add Problem =?Utf-8?B?Sm9obiBIdXRjaW5z?= Microsoft Excel Programming 2 15th Feb 2006 02:24 PM
problem with custom menu =?Utf-8?B?VG9ueQ==?= Microsoft Excel Programming 2 4th May 2005 08:20 AM
Custom Menu Bar Problem kat Microsoft Access Form Coding 2 28th Jul 2003 01:30 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:31 PM.