Can someone help me with a VBA code that wil help me open a form in MS Access

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Chidi282
    New Member
    • Aug 2014
    • 1

    Can someone help me with a VBA code that wil help me open a form in MS Access

    Can someone help me with a VBA code that wil help me open a form in MS Access
  • Jim Doherty
    Recognized Expert Contributor
    • Aug 2007
    • 897

    #2
    I appreciate I am in the .net forum here but from an Access perspective use the Access wizard and then look at the VBA code generated behind the form (that is unless you have generated the button with an access macro)

    The vba syntax for opening a form in an 'Access environment' is documented in Access help but here is a clue:

    Code:
    DoCmd.Openform(YourFormname)
    Last edited by Jim Doherty; Aug 24 '14, 07:27 AM. Reason: Code tags

    Comment

    • Rabbit
      Recognized Expert MVP
      • Jan 2007
      • 12517

      #3
      This thread has been moved to the Access forum.

      Comment

      Working...