Lesson 36 of 50 – Form Formatting in MS Access
72%

Form Formatting in MS Access

Form formatting in Microsoft Access means changing the appearance of a form to make it attractive, organized, readable, and easy to use. You can change colors, fonts, backgrounds, borders, control sizes, alignment, and themes.

1. What Is Form Formatting?

A form provides a user-friendly interface for entering, editing, and viewing database records. Formatting improves the form's appearance and helps users understand the information displayed on it.

Example: Student Admission Form

Student Admission Form


This is an illustrative example, not a working Microsoft Access form.
Benefits of Form Formatting
  • Makes forms attractive and professional.
  • Improves readability.
  • Groups related information together.
  • Makes important buttons and fields easier to find.
  • Creates a consistent appearance across forms.

2. Opening a Form in Design View

Most detailed formatting changes can be made in Design View. Layout View also allows many appearance changes while displaying actual data.

Steps
  1. Open your Microsoft Access database.
  2. Find the required form in the Navigation Pane.
  3. Right-click the form.
  4. Select Design View.
  5. Select the form or control you want to format.
  6. Use the ribbon or Property Sheet to change its appearance.
  7. Save the form after making the changes.
Tip: Press F4 to show or hide the Property Sheet when working with a form in Design View.

3. Changing the Background Color

You can change the background color of a form or an individual section to make the form easier to read.

Steps
  1. Open the form in Design View.
  2. Select the form section, such as Form Header or Detail.
  3. Open the Format tab or Property Sheet, depending on your Access version.
  4. Find the Back Color property when available.
  5. Select the required color.
  6. Save the form and preview it.
Example Color Choices
Form Element Suggested Color Purpose
Form Header Blue Highlights the form title.
Detail Section Light Grey Provides a clean background.
Save Button Green Highlights the save action.
Warning Label Yellow Draws attention to important information.

4. Changing Font Style, Size, and Color

Font formatting helps distinguish headings, labels, instructions, and data fields.

Steps
  1. Open the form in Design View or Layout View.
  2. Select the label or text box you want to format.
  3. Open the Format tab or Property Sheet.
  4. Choose the font name, size, weight, or color as needed.
  5. Save the form.
Common Formatting Choices
  • Font Name: Arial, Calibri, or another available font.
  • Font Size: Use larger text for headings.
  • Font Weight: Use bold text for important labels.
  • Font Color: Use contrasting colors for readability.
  • Text Alignment: Align text consistently.
Best Practice: Use a consistent font style and size throughout the form. Avoid using too many colors or font styles.

5. Formatting Labels and Text Boxes

Labels display descriptions such as Student Name, Course, and Mobile Number. Text boxes display or accept the actual field values.

Formatting Labels
  • Use bold text for important labels.
  • Keep label widths consistent.
  • Use clear and descriptive text.
  • Choose a readable font color.
Formatting Text Boxes
  • Adjust the height and width of text boxes.
  • Choose suitable border and background colors.
  • Align controls neatly.
  • Make fields large enough to display expected data.
Important Properties
Property Purpose
Font Name Sets the font family.
Font Size Sets the size of the text.
Fore Color Sets the text color.
Back Color Sets the background color.
Border Style Controls the border appearance.
Text Align Controls horizontal text alignment.

6. Resizing and Aligning Controls

Proper positioning makes a form easier to understand. Microsoft Access provides layout and alignment tools for arranging controls.

Resizing Controls
  1. Open the form in Design View or Layout View.
  2. Select the required control.
  3. Drag its sizing handles to adjust its dimensions.
  4. Use the ribbon's sizing options when available.
Aligning Controls
  1. Select two or more controls.
  2. Open the Arrange tab when available.
  3. Choose an alignment option, such as Left or Top.
  4. Adjust spacing to make the layout consistent.
Useful Arrangement Options
  • Align Left or Right
  • Align Top or Bottom
  • Adjust horizontal spacing
  • Adjust vertical spacing
  • Resize selected controls
Tip: Keep labels and their associated fields aligned. Leave enough space between separate groups of controls.

7. Applying Themes and Styles

Themes help maintain a consistent appearance across database objects. Depending on the Access version, the Themes tools may be available on the Design tab.

Steps
  1. Open the form in Layout View or Design View.
  2. Look for the Themes group on the Design tab.
  3. Select an available theme or theme variation.
  4. Review the form's appearance.
  5. Make any additional formatting changes required.
  6. Save the form.

A theme can provide coordinated colors and fonts, but individual controls may still require additional formatting.

Theme options and their effects can vary between Microsoft Access versions and form layouts.

8. Formatting Command Buttons

Command buttons should have clear captions and a consistent appearance. For example, a student form might contain Save, New Record, and Close buttons.

Steps
  1. Open the form in Design View.
  2. Select a command button.
  3. Press F4 to open the Property Sheet.
  4. Change the Caption property to a meaningful label.
  5. Adjust available formatting properties, such as font, color, and border.
  6. Repeat for other buttons.
  7. Save and test the form.
Example Button Labels
  • Save Student
  • Find Record
  • Print Report
  • Close Form

A button's appearance does not define its behavior. Configure its On Click event separately to make it perform the required action.

9. Practical Assignment

Create and format a student admission form in Microsoft Access.

Required Fields
  • Student ID
  • Student Name
  • Father Name
  • Course Name
  • Mobile Number
  • Admission Date
Tasks
  1. Create a form using your student table.
  2. Change the form title to Student Admission Form.
  3. Apply a suitable background color.
  4. Make the title bold and increase its font size.
  5. Align labels and text boxes neatly.
  6. Adjust the sizes of the controls.
  7. Format the command buttons consistently.
  8. Save the form as frmStudentAdmission.
  9. Open the form in Form View and review the result.
Goal: Create a professional-looking form that is clear, readable, and easy to use.

10. Revision Questions

  1. What is form formatting in MS Access?
  2. How do you open a form in Design View?
  3. How can you change the background color of a form section?
  4. What is the purpose of the Font Size property?
  5. What does the Fore Color property control?
  6. How can you resize a text box?
  7. Why is alignment important in a form?
  8. What is the purpose of themes?
  9. How can you change a command button's caption?
  10. Why should you preview a form after formatting it?

🧠 Quick Quiz

1. Which view is commonly used for detailed form formatting?




2. Which property changes the color of text?




3. Why should controls be aligned properly?