You are on page 1of 8

Microsoft Access 2000 Workshop 5

Modifying Forms

Modifying Forms
A. Opening an Existing Database
Start Microsoft Access and open the ITClass Database.

B. Opening an Existing Form


1. 2. 3. Click to select the Forms object if necessary. Double-click the Students form. It can be seen that the two sets of navigation buttons in the Students form can be quite confusing. (Actually the upper row of navigation buttons belongs to Hobby Subform, and is useful only for moving around hobbies within a particular students record.)

Two sets of navigation buttons can be confusing.

4.

Close the Students form.

Designed by T. S. Wong

http://www.wong-sir.com

Microsoft Access 2000 Workshop 5

Modifying Forms

C. Modifying the Hobby Subform Form


1. 2. Click to select the Hobby Subform form. Click the Design View button to open the form in Design View.

2. Click the Design View button.

1. Click to select Hobby Subform.

3.

Choose Properties from the View menu.

3. Choose Properties from the View menu.

4.

In the Form dialog box, click to select the Format page if necessary.
4. Choose the Format page if necessary.

5. Choose No from the drop-down list.

5. 6. 7.

For the Navigation Buttons options, select No from the drop-down list. Click the Save button on the Toolbar to save the Hobby Subform form. Close the Hobby Subform form.

Designed by T. S. Wong

http://www.wong-sir.com

Microsoft Access 2000 Workshop 5

Modifying Forms

D. Viewing the Students Form Again


1. Double-click the Students form to open it in Form View.

ii. The StudentID text box is not wide enough to show all the contents.

i. Only the set of navigation buttons for Students remains.

Note that only the set of navigation buttons for the Students form remains, the set of navigation buttons for the Hobby Subform form is removed. ii. Besides, the StudentID textbox is not wide enough to display all the contents. 2. Close the Students form.

i.

E. Modifying the Students Form


1. 2. Open Students in Design View. Click to select the StudentID text box.

2. Click to select the StudentID text box.

Designed by T. S. Wong

http://www.wong-sir.com

Microsoft Access 2000 Workshop 5

Modifying Forms

3.

Resize the StudentID text box by dragging the middle square box of the right edge to the right to lengthen the text box.

3. Drag the right edge to the right to lengthen the StudentID text box.

4.

Drag the bigger square box at the upper left corner of the StudentID text box to the left in order to move the text box to the left so that it will not overlap with the Remarks label.

4. Drag this bigger square box to the left.

5.

Repeat similar procedures for the Class and ClassNo text boxes, as well as the SAMember check box.

5. Drag the Class text box to the left so that it aligns with the StudentID text box again.

Designed by T. S. Wong

http://www.wong-sir.com

Microsoft Access 2000 Workshop 5

Modifying Forms

6.

Click the StudentID label (not the StudentID text box) to select it.

6. Click to select the StudentID label.

7.

Click it again so that it becomes editable.

7. Click it again to make it editable.

8. 9.

Change StudentID to Student ID (i.e., add a space between Student and ID). Use similar procedures to change ClassNo to Class No, SAMember to SA Member, and Birthday to Date of Birth.

10. Select the Hobby label and delete it.

10. Click the Hobby label to select it. 11. Press the Delete key on the keyboard to delete the label.

Designed by T. S. Wong

http://www.wong-sir.com

Microsoft Access 2000 Workshop 5

Modifying Forms

12. Click the Save button on the Toolbar to save all the changes on the Students form.
12. Click the Save button to save all the changes.

13. Close the Students form in Design View. 14. Double-click the Students form in Form View to observe the changes.

F. Modifying the Students Form Again


1. 2. 3. Close the Students form in Form View if necessary. Open the Students form in Design View again. In the Object drop-down list, select Hobby Subform to select it in the Students form.

3. Select Hobby Subform from the drop-down list.

Designed by T. S. Wong

http://www.wong-sir.com

Microsoft Access 2000 Workshop 5

Modifying Forms

4.

Resize the Hobby Subform object in the Students form by dragging its right edge to the left.

Drag the right edge of the Hobby Subform object to the left.

Drag to the left up to somewhere here.

5.

Click to select the objects (or select them through the Object drop-down list) and then drag them to the proper places on the Students form as below. (Resize the objects again if necessary.)

6. 7. 8. 9.

Save all the changes and close the Students form in Design View. Double-click the Students form to open it in Form View. Use the Tab key to move around the fields on the Students form. (Note the order as the cursor moves around the fields.) Close the Students form in Form View.

Designed by T. S. Wong

http://www.wong-sir.com

Microsoft Access 2000 Workshop 5

Modifying Forms

G. Changing the Tab Index of Fields in Form View


1. 2. Open the Students form in Design View again. Double-click the StudentID text box to open its properties dialog box.

2. Double-click the StudentID text box.

3.

Click the Other tab to select the Other page. (Note that the Tab Index for StudentID is 0.)
3. Click the Other tab.

The Tab Index for StudentID is 0.

4.

Click each field to see its Tab Index.

4. Note that the Tab Index for Class is 1.

5. Change the Tab Index for Name from 5 to 4.

5. 6. 7.

Change the Tab Index for the Name field to 4, Birthday to 5, and Address to 6. (Note that the Tab Index for Remarks has been changed to 7 automatically.) Save the changes and check the Students form in Form View again. Close the Students form and choose Exit from the File menu.

Designed by T. S. Wong

http://www.wong-sir.com

You might also like