MainForm to SubForm Focus

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nomeepk
    New Member
    • Jan 2014
    • 12

    MainForm to SubForm Focus

    hi i am using access 2013,

    how can i set Focus to a field in Subform.

    so whenever i get into subform through Mainform by pressing Enter or Tab it automatically gets to the ID or field i will select in the focus.

    Hope it makes sense :/

    Advance thanks for your help.
  • zmbd
    Recognized Expert Moderator Expert
    • Mar 2012
    • 5501

    #2
    set the focus to a control on the subform:
    This is the most simple and sweet: Allen Browne: Referring to Controls on a Subform

    Comment

    • nomeepk
      New Member
      • Jan 2014
      • 12

      #3
      I am sorry but i m still stuck at it. its not working or maybe i dont know how to make it work.

      I am trying to put this code "On Got Focus" option.

      can you please help in couple of steps. :/

      My main form is "Orders" and subform is "Order_deta ils" the field name is "Item".

      Regards

      Comment

      • zmbd
        Recognized Expert Moderator Expert
        • Mar 2012
        • 5501

        #4
        please show your work
        simply saying it doesn't work doesn't help us to help you

        Please use the [CODE/] button to format posted script and formated text - Please read the FAQ

        Comment

        Working...