Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2015
    Posts
    2

    Unanswered: Referencing main form from subform

    Hi All,

    can I reference a button in the main from from subform via macro builder or vba?


    I need to refresh/requery main form and its subforms after I click on hyperlink in the subform

    Thank you

  2. #2
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    495
    Provided Answers: 24
    'main form if you're in it,
    me.requery

    and me.sub.requery

  3. #3
    Join Date
    Mar 2009
    Posts
    5,442
    Provided Answers: 14
    Try:
    Code:
    Me.Parent.Requery
    Have a nice day!

Posting Permissions

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