Form controls are objects placed on a Microsoft Access form to display information, accept user input, or perform actions. Common controls include text boxes, labels, combo boxes, check boxes, list boxes, and command buttons.
Controls make forms easier to use. For example, a text box can accept a student's name, a combo box can display available courses, and a command button can open another form.
This is an illustrative layout. The actual controls are created and configured inside Microsoft Access.
| Control | Purpose | Example |
|---|---|---|
| Label | Displays descriptive text. | Student Name: |
| Text Box | Displays or accepts data. | Student name |
| Combo Box | Provides a drop-down list. | Select a course |
| List Box | Displays a list of selectable items. | Course list |
| Check Box | Represents a Yes/No value. | Active student |
| Option Button | Selects one option from a group. | Payment mode |
| Command Button | Performs an action when clicked. | Open another form |
| Image Control | Displays an image. | Institute logo |
A Label control displays text that identifies a field or provides instructions. Labels generally do not allow users to edit the displayed text in Form View.
Use meaningful labels so users understand what information belongs in each field.
A Text Box control displays data from a field or accepts user input. A text box can be bound to a table field, connected to a calculated expression, or left unbound.
| Property | Purpose |
|---|---|
| Name | Identifies the control. |
| Control Source | Specifies the field or expression displayed by the control. |
| Default Value | Specifies an initial value for a new record. |
| Format | Controls how a value is displayed. |
| Enabled | Determines whether the control can receive focus. |
| Locked | Determines whether the displayed value can be edited. |
A Combo Box displays a drop-down list of choices. It can help users select an existing value instead of typing it manually.
A List Box displays a list of values directly on the form. Users can select an item from the visible list.
Select Course
Illustrative list box preview.| Combo Box | List Box |
|---|---|
| Displays choices in a drop-down list. | Displays choices in a visible list area. |
| Uses less space when closed. | Usually occupies more space on the form. |
| Useful for choosing one course. | Useful when users need to see several options at once. |
A Check Box represents a Yes/No or Boolean value. It is commonly used for information that can be enabled or disabled.
An Option Button, also called a radio button, represents one choice. An Option Group can contain several option buttons so users can select one choice from a group.
An Option Group is useful when users should choose one value from a small set of fixed options.
A Command Button lets users perform an action by clicking it. It can open another form, open a report, close a form, or perform other configured operations.
The Property Sheet is used to configure a selected control or form. It provides settings for appearance, data, events, and other behavior.
| Category | Purpose |
|---|---|
| Format | Controls appearance and formatting. |
| Data | Sets the control source and data-related options. |
| Event | Configures actions triggered by events. |
| Other | Contains additional control properties. |
| All | Displays all available properties. |
Controls can be classified according to whether they are connected to a data source.
A bound control is connected to a field in the form's record source. It can display or edit the corresponding field value, subject to the form and field settings.
Example: A text box connected to the StudentName field.
An unbound control is not directly connected to a field. It can be used to display instructions or accept temporary input, depending on its configuration.
Example: A label displaying "Welcome to Soopro Pathshala".
A calculated control uses an expression as its Control Source to display a calculated result.
=[Fees]-[Discount]
This expression calculates the value of Fees minus Discount, assuming both fields are available in the form's record source.
Create a Students table with StudentID, StudentName, Course, Fees, and IsActive fields. Create a form connected to the Students table.
1. Which control is commonly used to display a drop-down list?
2. Which property connects a bound text box to a field or expression?
3. Which control is commonly used to represent a Yes/No value?