- MS Access Tutorial
- MS Access - Home
- MS Access - Overview
- MS Access - RDBMS
- MS Access - Objects
- MS Access - Create Database
- MS Access - Data Types
- MS Access - Create Tables
- MS Access - Adding Data
- MS Access - Query Data
- MS Access - Query Criteria
- MS Access - Action Queries
- MS Access - Create Queries
- MS Access - Parameter Queries
- MS Access - Alternate Criteria
- MS Access - Relating Data
- MS Access - Create Relationships
- One-To-One Relationship
- One-To-Many Relationship
- Many-To-Many Relationship
- MS Access - Wildcards
- MS Access - Calculated Expression
- MS Access - Indexing
- MS Access - Grouping Data
- MS Access - Summarizing Data
- MS Access - Joins
- MS Access - Duplicate Query Wizard
- Unmatched Query Wizard
- MS Access - Create A Form
- MS Access - Modify A Form
- MS Access - Navigation Form
- MS Access - Combo Box
- MS Access - SQL View
- MS Access - Formatting
- MS Access - Controls & Properties
- MS Access - Reports Basics
- MS Access - Formatting Reports
- MS Access - Built-In Functions
- MS Access - Macros
- MS Access - Data Import
- MS Access - Data Export
- MS Access Useful Resources
- MS Access - Quick Guide
- MS Access - Useful Resources
- MS Access - Discussion
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
MS Access - Combo Box
When you enter data in any form, it can be quicker and easier to select a value from a list than to remember a value to type. A list of choices also helps ensure that the value entered in a field is appropriate. A list control can connect to existing data, or it can display fixed values that you enter when you create the control. In this chapter, we will cover how to create a combo box in Access.
A combo box is an object or control which contains a drop-down list of values that the user can select from.
- The combo box control provides a more compact way to present a list of choices.
- The list is hidden until you click the drop-down arrow.
- A combo box also gives you the ability to enter a value that is not in the list.
- In this way, the combo box control combines the features of a text box and a list box.
Let us now take a simple example of creating a combo box. We have created a form for an employee as shown in the following screenshot.
We now want to create a combo box for Phone type because we know that phone type should be either Home, Cell or Work. This information should be available in the dropdown list and the user need not type this information.
Let us now go to the Design View for this form. Select the Phone Type field and press delete.
Once the Phone Type field is deleted, go to the Design tab.
Let us now select Use Control Wizards option from the Controls menu and then Select the Combo Box Control from the menu as shown in the following screenshot.
Now, draw the combo box where you want and when you release your mouse then you will see the Combo Box Wizard dialog box.
Here you have different option for data; let us select the 2nd option wherein, we will add the values and click Next.
Enter the values you want to be displayed in the drop-down list and click Next.
Click Next again.
Enter the label for your combo box and click Finish.
You can see that combo box is created but it is not aligned to other field. Let us do that first by selecting all fields and then go to the Arrange tab.
To the left, you will see the Stacked option. Click this button.
You can now see the fields are aligned.
To make the size of each field same we have different options, let us click the Size/Space button.
From the drop-down list, click To Shortest.
Now go to the Form view.
A user can now easily select any option for the Phone type.