Results 1 to 6 of 6
  1. #1
    willkr is offline Competent Performer
    Windows 10 Access 2019
    Join Date
    Mar 2023
    Posts
    110

    Jump to a control on another form

    I know how to jump to a control on the form I'm in - DoCmd.GoToControl "[A Control]"

    How do I jump to a control in another form?

  2. #2
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows 10 Access 2019
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,544
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

  3. #3
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    4,940
    Set focus to that form first perhaps?, which is what happens when you do it manually.
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  4. #4
    willkr is offline Competent Performer
    Windows 10 Access 2019
    Join Date
    Mar 2023
    Posts
    110
    Thank-you, Bob! That's exactly what I needed to know.

  5. #5
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows 10 Access 2019
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,544
    Quote Originally Posted by willkr View Post
    Thank-you, Bob! That's exactly what I needed to know.
    Always pleased to help, if I can.
    Keep in mind that to form MUST be open otherwise you will raise an error.
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

  6. #6
    willkr is offline Competent Performer
    Windows 10 Access 2019
    Join Date
    Mar 2023
    Posts
    110
    Actually, I'm moving from a subform to the main form and the microsoft page you sent me to showed me how to do that.

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

Similar Threads

  1. Subroutine VBA - Jump
    By mainerain in forum Programming
    Replies: 4
    Last Post: 10-23-2019, 02:31 PM
  2. Jump To Record
    By ortizimo in forum Access
    Replies: 5
    Last Post: 09-13-2019, 08:57 AM
  3. Replies: 4
    Last Post: 02-18-2016, 12:06 PM
  4. Replies: 11
    Last Post: 05-19-2015, 08:35 AM
  5. How to Open form and jump to certain record?
    By behnam in forum Programming
    Replies: 3
    Last Post: 06-05-2014, 08:45 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