Re-usable search form

  • Thread starter Thread starter laajsab
  • Start date Start date
L

laajsab

In an Access form, I have a menu with the following options for a
student database. Each option is a command button driven and has a
corresponding form.
Emergency Contact Info
Personal Info
Courses Enrolled

What I would like to happen is: No matter which one I click, I will
get to the same Search ID form, which prompts for an ID. And after the
ID is entered, I would like to load the appropriate form with
information.

How can I create one search ID form that will recognize which of the
menu options I clicked? Can someone provide some examples??
 
Use the OpenARgs argument of the OpenForm method to tell the Search ID form
which button was clicked.
 
Back
Top