TechTrain "Just-In-Time"
  Select Program Program Access Steps 1 - 11 of 11
  Topic Forms
  Select Objective Objective Create Menu-driven Application
   
 

Add Buttons to Menu Form
   Step  1
Click on the "Command Button" button in the toolbox. Drag out a button.

This first button will be used to display the contents of the StudentInformation Table using the Student Information Form.




Add Buttons to Menu Form
   Step  2
Click on the "Command Button" button in the toolbox. Drag out a button.

The Command Button Wizard is displayed. This first button will be used to display the contents of the StudentInformation Table using the Student Information Form.




Add Buttons to Menu Form
   Step  3
Select "Form Operation" as the Category and "Open Form" as the Action.

Note the selections in the example. Click Next.




Add Buttons to Menu Form
   Step  4
Select "StudentInformation" as the form to open. Click Next.

 




Add Buttons to Menu Form
   Step  5
Select the radio button labeled "Open the form and show all the records." Click Next.

 




Add Buttons to Menu Form
   Step  6
Select the radio button labeled Text and type a label for your button. Click Next.

 




Add Buttons to Menu Form
   Step  7
Type "Button1" for the name of the button. Click Finish.

Your Menu Form should look like the one shown below.




Add Buttons to Menu Form
   Step  8
Create the second button and select Category="Report Operations" and Action="Preview Report".

Note the selections in the example. Click Next.




Add Buttons to Menu Form
   Step  9
Follow the steps in the Command Button Wizard to complete the second button.

 




Add Buttons to Menu Form
   Step  10
Create the third button and select Category="Miscellaneous" and Action="Run Macro".

Note the selections in the example. Click Next.




Add Buttons to Menu Form
   Step  11
Select the macro named "OpenReportStudentDataPreview". Click Next.

If you have not created this macro, see the tutorial in "Just In Time" learning, by selecting Program=Access, Topic=Macro, Objective=Create a Macro, Specific Objective=Open Report Macro.




 
   
Copyright © 1999-2010
Additional help available at techtrain@techtrainteam.com.

TechTrain Home