Results 1 to 3 of 3
  1. #1
    djclinton15 is offline Competent Performer
    Windows 8 Access 2013
    Join Date
    Nov 2015
    Posts
    123

    How to open a Form to the Last Record

    If I wanted to open a Form (or Subform) to a, 'New Record' I would use this code:




    Private Sub Form_Load()
    DoCmd.GoToRecord , , acNewRec
    End Sub


    If I wanted to open a Form (or Subform) to the 'Last Record' wouldn't the code be:


    Private Sub Form_Load()
    DoCmd.GoToRecord , , acLastRec
    End Sub


    It's not working. I would greatly appreciate any suggestions. Thanks in advanced!

  2. #2
    alansidman's Avatar
    alansidman is offline Indifferent
    Windows 7 64bit Access 2013
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,538

  3. #3
    djclinton15 is offline Competent Performer
    Windows 8 Access 2013
    Join Date
    Nov 2015
    Posts
    123
    Thanks a lot

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

Similar Threads

  1. Replies: 10
    Last Post: 12-17-2014, 03:31 PM
  2. Replies: 4
    Last Post: 12-16-2014, 05:08 PM
  3. Replies: 2
    Last Post: 03-13-2013, 06:13 PM
  4. Replies: 3
    Last Post: 08-26-2012, 10:04 PM
  5. Replies: 1
    Last Post: 05-03-2012, 02:25 PM

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