Page 2 of 2 FirstFirst 12
Results 16 to 17 of 17
  1. #16
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929

    That's not the code I suggested.

    The Add button uses the Me.Dirty code. The Delete button uses the Me.NewRecord test.
    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.

  2. #17
    Stephenson is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Sep 2015
    Location
    North West
    Posts
    110
    It works!

    I simply put

    Code:
    Me.Requery
        DoCmd.GoToRecord , , acNewRec
    behind cmdAddRec and it now allows me to advance to a new record and ad data.

    Thank you for the help!

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Access wont close using vba
    By ScanGuard in forum Programming
    Replies: 8
    Last Post: 09-24-2015, 08:25 AM
  2. Access runtime wont run db
    By detaylor1242 in forum Access
    Replies: 1
    Last Post: 05-13-2015, 06:30 PM
  3. Replies: 3
    Last Post: 01-02-2015, 02:06 PM
  4. Replies: 4
    Last Post: 12-12-2014, 08:48 AM
  5. gotorecord in Access 2003
    By LRB_FORUM in forum Access
    Replies: 1
    Last Post: 01-12-2013, 11:53 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