Results 1 to 2 of 2
  1. #1
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    Kendrick, Idaho, USA
    Posts
    277
    Thanks
    1
    Thanked 0 Times in 0 Posts

    subform navigation

    How can I navigate (i.e. go to a particular record) within a subform using Visual Basic? The DoCmd.GoToRecord command apparently only works in the parent form.
    Thanks

  2. #2
    Plutonium Lounger
    Join Date
    Dec 2000
    Location
    Sacramento, California, USA
    Posts
    16,775
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: subform navigation

    You have to set the focus to the subform itself, not just to the control. Try Me!subform.form.setfocus, where subform should be changed to the actual name of the subform control.
    Charlotte

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •