Results 1 to 2 of 2
  1. #1
    TinaCa is offline Advanced Beginner
    Windows Vista Access 2010 32bit
    Join Date
    Jul 2011
    Posts
    87

    gotocontro on Main Form from Field in Submfor

    The user wants to exit a field in the subform and go back to the combo box on the main form to select a different record. (PS the main form is inside the navigation form). I can get it to work outside of the navigation form but not inside it. I have tried using the following code in both a macro and vba and access can't find the field in the main form.

    DoCmd.GoToControl Forms![frmNavigation]![NavigationSubform].Form![Combo12]



    Thanks

  2. #2
    ketbdnetbp is offline Competent Performer
    Windows 7 32bit Access 2003
    Join Date
    Mar 2011
    Location
    Midwest
    Posts
    254

    TinaCa -

    I haven't worked with navigation forms before, so this is just a guess. However, it may be worth a try.

    In VBA, I would try...

    DoCmd.gotocontrol "Combo12"

    or,

    DoCmd.gotocontrol "NavigationSubform"
    DoCmd.gotocontrol "combo12"

    and, see if that gets any desirable results.

    All the best,

    Jim

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

Similar Threads

  1. Replies: 2
    Last Post: 08-11-2011, 10:02 AM
  2. Replies: 1
    Last Post: 07-20-2011, 01:24 PM
  3. Replies: 9
    Last Post: 12-15-2010, 01:44 PM
  4. Replies: 1
    Last Post: 11-13-2010, 12:57 PM
  5. Replies: 3
    Last Post: 11-05-2010, 03:10 PM

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