Microsoft Access provides different views for working with database objects. A view changes how you see or work with an object; it does not necessarily change the underlying data.
A view is a way of displaying or working with a database object. In MS Access, tables, forms, reports, and queries can have different views depending on the object.
Example:
A table can be opened in Datasheet View to see records in rows and columns, or in Design View to change its field structure.
Datasheet View displays table records in a grid of rows and columns, similar to a spreadsheet.
| StudentID | StudentName | Course |
|---|---|---|
| 101 | Rahul Kumar | ADCA |
| 102 | Priya Kumari | Tally Prime |
| 103 | Amit Kumar | Web Development |
Each row represents a record, and each column represents a field.
Design View is used to create or modify the structure of a database object.
Example:
You can create a field named StudentName
and set its data type to Short Text.
Be careful when changing field properties in an existing table because some changes may affect stored data.
Layout View is mainly used with forms and reports. It allows you to adjust their appearance while viewing actual data.
Layout View is useful when you want to make visual changes without working entirely from a blank design.
Form View displays a form for entering, viewing, and editing records through a user-friendly interface.
Example: A student admission form can contain fields for Student ID, Name, Mobile Number, Course, and Admission Date.
Reports are used to organize and present database information. Access provides different ways to work with and preview reports.
A fee report, for example, can display student names, course details, paid amounts, and pending fees.
You can also right-click an object in the Navigation Pane and select an available view option, depending on the object and Access version.
| View | Main Purpose |
|---|---|
| Datasheet View | View and edit records in rows and columns. |
| Design View | Change an object's structure. |
| Layout View | Adjust form or report layout while viewing data. |
| Form View | Enter and work with records through a form. |
| Print Preview | Check how a report or other printable object will look on paper. |
Complete the following tasks in MS Access:
Students.1. Which view displays records in rows and columns?
2. Which view is used to change a table's field structure?
3. Which view helps you enter data through a form?