Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!

Tab order and subforms

Discussion in 'Information Technology' started by L. R. Hurtado, Nov 8, 2005.

  1. L. R. Hurtado

    L. R. Hurtado
    Expand Collapse
    Guest

    Hello there.
    This is my case:
    I do have a forms containing a tab control. The form stars to be filled in
    from the form header. From there it should go then to the tab control. Inside
    the tab control pages, in one of them, there are a few subforms.
    The point:
    I want to use the tab control in a way that I can send the focus to the
    right tab control page, from the form header, and inside the tab page to fill
    in the fields and when the focus goes to the subform to be able to send the
    focus to the next subform or field or control.
    Can anybody please give me a hand!>
     
  2. Loading...

    Similar Threads Forum Date
    Sikh News 'Depleting' water table: Punjab fails to provide any data (Business Recorder) Breaking News Mar 18, 2008
    As A Child, Public Marches Of Sikhism Made Me Uncomfortable. They Still Do . Why ? Whats The Logic Hard Talk Oct 16, 2016
    Windows 10-don't Click That Tab! Information Technology Aug 10, 2015
    World ISIS inside Syria's Tabqa military air base: activist Breaking News Aug 25, 2014
    Arts/Society Backyard Vegetable Garden Language, Arts & Culture Dec 27, 2013

  3. Ofer

    Ofer
    Expand Collapse
    Guest

    There is no need to set the focus to the TAB, all you need is to set the
    focus to a field in the TAB, or to a field in a sub form, and the Tab will
    get the focus also

    To set the focus to a field in the Main form

    Forms![MainFormNAme]![FieldName].SetFocus

    To set the focus to a field in the sub form
    Forms![MainFormNAme]![Sub Form control name].Form![FieldName].SetFocus

    --
    The next line is only relevant to Microsoft''s web-based interface users.
    If I answered your question, please mark it as an answer. It''s useful to
    know that my answer was helpful
    HTH, good luck


    "L. R. Hurtado" wrote:

    > Hello there.
    > This is my case:
    > I do have a forms containing a tab control. The form stars to be filled in
    > from the form header. From there it should go then to the tab control. Inside
    > the tab control pages, in one of them, there are a few subforms.
    > The point:
    > I want to use the tab control in a way that I can send the focus to the
    > right tab control page, from the form header, and inside the tab page to fill
    > in the fields and when the focus goes to the subform to be able to send the
    > focus to the next subform or field or control.
    > Can anybody please give me a hand!>
     
  4. L. R. Hurtado

    L. R. Hurtado
    Expand Collapse
    Guest

    Thank for your interest in my case.
    My problem is that the focus must be sent by the use of the tab key, due to
    the reason that the database is meant to be used thru the keyboard without
    the use of mouse.
    Do you have any clue?

    "Ofer" wrote:

    > There is no need to set the focus to the TAB, all you need is to set the
    > focus to a field in the TAB, or to a field in a sub form, and the Tab will
    > get the focus also
    >
    > To set the focus to a field in the Main form
    >
    > Forms![MainFormNAme]![FieldName].SetFocus
    >
    > To set the focus to a field in the sub form
    > Forms![MainFormNAme]![Sub Form control name].Form![FieldName].SetFocus
    >
    > --
    > The next line is only relevant to Microsoft''s web-based interface users.
    > If I answered your question, please mark it as an answer. It''s useful to
    > know that my answer was helpful
    > HTH, good luck
    >
    >
    > "L. R. Hurtado" wrote:
    >
    > > Hello there.
    > > This is my case:
    > > I do have a forms containing a tab control. The form stars to be filled in
    > > from the form header. From there it should go then to the tab control. Inside
    > > the tab control pages, in one of them, there are a few subforms.
    > > The point:
    > > I want to use the tab control in a way that I can send the focus to the
    > > right tab control page, from the form header, and inside the tab page to fill
    > > in the fields and when the focus goes to the subform to be able to send the
    > > focus to the next subform or field or control.
    > > Can anybody please give me a hand!>
     
  5. Ofer

    Ofer
    Expand Collapse
    Guest

    You cant use the TAB key to jump from sub form back to the main form or to
    another field in another sub form, what you can do, is use the Lost focus
    property on the last field in the sub from, and set the focus to another
    field using the example I gave you in the first post.


    --
    The next line is only relevant to Microsoft''s web-based interface users.
    If I answered your question, please mark it as an answer. It''s useful to
    know that my answer was helpful
    HTH, good luck


    "L. R. Hurtado" wrote:

    > Thank for your interest in my case.
    > My problem is that the focus must be sent by the use of the tab key, due to
    > the reason that the database is meant to be used thru the keyboard without
    > the use of mouse.
    > Do you have any clue?
    >
    > "Ofer" wrote:
    >
    > > There is no need to set the focus to the TAB, all you need is to set the
    > > focus to a field in the TAB, or to a field in a sub form, and the Tab will
    > > get the focus also
    > >
    > > To set the focus to a field in the Main form
    > >
    > > Forms![MainFormNAme]![FieldName].SetFocus
    > >
    > > To set the focus to a field in the sub form
    > > Forms![MainFormNAme]![Sub Form control name].Form![FieldName].SetFocus
    > >
    > > --
    > > The next line is only relevant to Microsoft''s web-based interface users.
    > > If I answered your question, please mark it as an answer. It''s useful to
    > > know that my answer was helpful
    > > HTH, good luck
    > >
    > >
    > > "L. R. Hurtado" wrote:
    > >
    > > > Hello there.
    > > > This is my case:
    > > > I do have a forms containing a tab control. The form stars to be filled in
    > > > from the form header. From there it should go then to the tab control. Inside
    > > > the tab control pages, in one of them, there are a few subforms.
    > > > The point:
    > > > I want to use the tab control in a way that I can send the focus to the
    > > > right tab control page, from the form header, and inside the tab page to fill
    > > > in the fields and when the focus goes to the subform to be able to send the
    > > > focus to the next subform or field or control.
    > > > Can anybody please give me a hand!>
     

Share This Page