Office 2010 - Access

Lesson 48: “Controls” (4)

48/76 Lessons 

Combo box(2)

Ok, now we have everything we need to make our alphabetical list. We open the form in “Design View”.

les48_image001_en
Remove the “Name” field and its label in the form (1).

Then choose the “Design” tab in the “Ribbon” (2) and select the “Use

Control Wizards” (3) option in the pop-up menu controls.

Then re-open the pop-up menu controls and you choose the “Combo box” (4) control.

les48_image002_en
Then place it in the form where the field “Last Name” previously was. This opens the Wizard for the combo box.

Select the checkbox in the bottom window.

That is “Access” must lookup the record based on the value you entered in the list box.

Click the “Next” button.

les48_image003_en
In the next wizard window, select the fields that should appear in the listbox of the form.
With the “First Name” and “Last Name”, I’ll know which student it is.

Click the “Next” button.

les48_image004_en
In the next window, you can adjust the width of the columns in the list box.

Place the cursor at the top right of the column and when it changes into a four-way arrow, click and drag till your desired width is reached.

Click the “Next” button.

les48_image005_en

In the next window, give the label name for the listbox
“Name” seems quite appropriate.
Click the “Finish” button.

les48_image006_en
When we see our form in “Form View”, we see that a downward pointing arrow is added next to the “Name” box.

les48_image007_en
When you click this, it unfolds a list of all students, in alphabetical order.
Select a student from this list and all data in the form and subform apear automatically.

les48_image008_en

Awesome!
You've completed Lesson 48
START NEXT LESSON