Solved

command not working

Posted on 2014-03-05
2
206 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
[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
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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.
Traditionally, the method to display pictures in Access forms and reports is to first download them from URLs to a folder, record the path in a table and then let the form or report pull the pictures from that folder. But why not let Windows retr…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…

696 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