Results 1 to 2 of 2
  1. #1
    Access_Novice is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Sep 2013
    Posts
    265

    The method GoToRecord is not advancing to the next record when using acNext

    I have a button on a report called "Parent Info" with the following code:




    DoCmd.GoToRecord acDataReport, "Parent Info", acNext

    When I click this button, it does not advance one record to the next. Again this button is in the same report. But for some reason if I use the same code on a button in a form, it does advance one record after another in the report. Why won't this code work when it is a part of a button on the same report?

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,925
    Is the report in PrintPreview? Buttons do not work.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 1
    Last Post: 08-28-2013, 06:49 AM
  2. advancing to new record
    By buckwheat in forum Forms
    Replies: 33
    Last Post: 06-07-2013, 06:29 PM
  3. Combo boxes not loading on acNext
    By Ashe in forum Forms
    Replies: 1
    Last Post: 09-28-2011, 07:53 AM
  4. Within form, advancing to next record
    By crowegreg in forum Forms
    Replies: 2
    Last Post: 08-07-2011, 09:18 PM
  5. Replies: 1
    Last Post: 10-01-2010, 04:44 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums