query to open form?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jgraves
    New Member
    • Oct 2006
    • 1

    query to open form?

    Can I use a query to open a form?

    I have 2 different companies I enter data for. I want to set button on my switchboard that when clicked asks which company I am entering data for. Then it opens the form for that company.

    If I say "company 35" then it opens the form for "company 35".
  • PEB
    Recognized Expert Top Contributor
    • Aug 2006
    • 1418

    #2
    You need to enter as On click event procedure of the respective bouton:

    Docmd.openform "Yourformna me"


    :)

    Comment

    Working...