Solved

command not working

Posted on 2014-03-05
2
200 Views
Last Modified: 2014-03-06
The GoTo.Next command is working from the ribbon.  The GoToRecord.Next command is not working from a macro.  Database created in a trusted location.
macro1.PNG
macro2.PNG
0
Comment
Question by:gofasteddie
2 Comments
 
LVL 39

Accepted Solution

by:
thenelson earned 250 total points
Comment Utility
The goto command using the macro is not working because the macro has the focus. For the goto command to work, the form or report has to have the focus. You need to call the macro from vba or a control event for the macro to work. Create the macro, then set an event for one of your control events to the macro (a button click event for example).
0
 

Author Comment

by:gofasteddie
Comment Utility
Dooh - how quickly we forget.  Tkx.
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

In case Office 2010 has not been deployed in your environment, this article may be quite useful. In our office, we wanted a way to deploy Microsoft Office Professional Plus 2010 through an automated batch file via logon script. This article is docum…
Recently Microsoft released a brand new function called CONCAT. It's supposed to replace its predecessor CONCATENATE. But how does it work? And what's new? In this article, we take a closer look at all of this - we even included an exercise file for…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.
Learn how to create and modify your own paragraph styles in Microsoft Word. This can be helpful when wanting to make consistently referenced styles throughout a document or template.

772 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now