Results 1 to 2 of 2
  1. #1
    esplan is offline Novice
    Windows 10 Access 2016
    Join Date
    Jun 2019
    Posts
    1

    VBA add new record to a subform of a navigation form

    Hi,

    I use the navigation form in access. I have created a form that contains a subform. Referencing the subform (goToControl, setFocus) is working fine on both the navigation form and the form itself. However, if I add e.g.
    DoCmd.GoToRecord , , acNewRec it does not work from the navigation form - only when opening the "main form". Any ideas?


  2. #2
    CJ_London is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,397
    I don't use navigation forms due to their limitations, but the chances are the clue is in the name - navigation is not the same as data entry. However I would look at your form settings - it may be the setting for allow additions is set to false

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

Similar Threads

  1. Replies: 10
    Last Post: 07-05-2017, 11:31 AM
  2. Replies: 4
    Last Post: 11-06-2014, 05:35 AM
  3. Replies: 12
    Last Post: 10-23-2014, 02:08 AM
  4. Replies: 5
    Last Post: 06-30-2014, 10:08 PM
  5. Navigation Form used as SubForm
    By jlgray0127 in forum Forms
    Replies: 2
    Last Post: 03-26-2014, 10:28 AM

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