Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 2010
    Posts
    14

    Unanswered: moving from a control in one subform to another in a different subform

    I have a parent form with 3 subforms- after entering data in subform 1 I want cursor to move to a control in subform 2 and likewise to sub3 afterwards; what is the best way of doing that;
    Tab Index only shows the subforms;
    I tried after update goto control; but that works only for controls in the same subform; I tried giving the full identifier of the control; but still didnot work' Pls HELP

  2. #2
    Join Date
    May 2005
    Location
    Nevada, USA
    Posts
    2,888
    Provided Answers: 6
    Typically when moving to a subform you have to first set focus to the subform itself, then to the specific control you want focus on.
    Paul

  3. #3
    Join Date
    Apr 2010
    Location
    New York USA
    Posts
    2
    Try:
    Forms!MainFormName!subFormName.Setfocus
    Forms!MainFormName!subFormName.Form!ControlName.Se tFocus

  4. #4
    Join Date
    Sep 2010
    Posts
    14

    Thanks a lot

    Thanks fr yr reply; this works just the way I wanted

Posting Permissions

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