Solved

command not working

Posted on 2014-03-05
2
203 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
ID: 39908798
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
ID: 39909364
Dooh - how quickly we forget.  Tkx.
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
Using Word 2013, I was experiencing some incredible lag when typing.  Here's what worked for me....
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

803 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