MOS Access Associate (Office 365 and Office 2019)
1 Introduction to Microsoft Access
1-1 Overview of Microsoft Access
1-2 Understanding the Access interface
1-3 Navigating the Ribbon and Backstage view
1-4 Customizing the Quick Access Toolbar
1-5 Using the Tell Me feature
2 Creating and Managing Databases
2-1 Creating a new database
2-2 Opening and closing databases
2-3 Saving and backing up databases
2-4 Converting databases between file formats
2-5 Managing database properties
3 Designing Tables
3-1 Understanding table structure
3-2 Creating tables using table design view
3-3 Defining field properties
3-4 Setting primary keys
3-5 Creating relationships between tables
3-6 Enforcing referential integrity
3-7 Using lookup fields
4 Entering and Managing Data
4-1 Entering data into tables
4-2 Editing and deleting records
4-3 Using data entry forms
4-4 Sorting and filtering data
4-5 Using validation rules and messages
4-6 Importing and exporting data
5 Creating and Customizing Forms
5-1 Understanding forms
5-2 Creating forms using the Form Wizard
5-3 Customizing form layout
5-4 Adding controls to forms
5-5 Setting control properties
5-6 Using form views (Form View, Layout View, Design View)
5-7 Creating subforms
6 Creating and Customizing Reports
6-1 Understanding reports
6-2 Creating reports using the Report Wizard
6-3 Customizing report layout
6-4 Adding controls to reports
6-5 Setting control properties
6-6 Using report views (Report View, Layout View, Design View)
6-7 Grouping and summarizing data in reports
6-8 Printing and exporting reports
7 Querying Data
7-1 Understanding queries
7-2 Creating queries using the Query Wizard
7-3 Using query design view
7-4 Adding fields to queries
7-5 Using criteria and operators
7-6 Sorting and grouping query results
7-7 Creating calculated fields
7-8 Using aggregate functions
7-9 Creating and using parameter queries
7-10 Creating and using crosstab queries
8 Macros and Automation
8-1 Understanding macros
8-2 Creating and editing macros
8-3 Using macro actions
8-4 Assigning macros to events
8-5 Debugging macros
8-6 Understanding VBA (Visual Basic for Applications)
8-7 Writing simple VBA procedures
9 Securing and Sharing Databases
9-1 Setting database passwords
9-2 Encrypting databases
9-3 Managing user-level security
9-4 Sharing databases with others
9-5 Using SharePoint and OneDrive for data storage
9-6 Collaborating with others in real-time
10 Maintaining and Optimizing Databases
10-1 Compact and repair databases
10-2 Analyzing and optimizing database performance
10-3 Using the Database Documenter
10-4 Managing database objects
10-5 Backing up and restoring databases
10-6 Migrating databases to newer versions of Access
Using Query Design View in Microsoft Access

Using Query Design View in Microsoft Access

Key Concepts

Using Query Design View in Microsoft Access involves understanding the following key concepts:

Query Design View

Query Design View is the interface where you can visually design and customize queries. It allows you to select fields from one or more tables, set criteria for data retrieval, and define how the data should be sorted and displayed. To access Query Design View, follow these steps:

  1. Open your database and go to the Create tab.
  2. Click on "Query Design" to open the Query Design View.
  3. Select the tables or queries you want to use in the query and click "Add."
  4. Arrange the tables in the design grid and start designing your query.

Table Relationships

Table relationships define how tables are connected in a database. Understanding these relationships is crucial for designing effective queries. Common relationships include one-to-many, many-to-many, and one-to-one. Properly defining relationships ensures that data is retrieved accurately and efficiently.

Example: In a sales database, a "Customers" table might have a one-to-many relationship with an "Orders" table, where each customer can have multiple orders.

Field Selection

Field selection involves choosing which fields from the tables will be included in the query. This determines the data that will be displayed in the query results. Proper field selection ensures that the query contains relevant and necessary information.

Example: When creating a query to display customer orders, you might select fields such as "CustomerID," "OrderDate," and "OrderTotal" from the "Orders" table.

Criteria

Criteria are conditions that filter the data in a query. They allow you to retrieve specific records based on certain conditions, such as date ranges, specific values, or ranges. Setting criteria enhances the accuracy and relevance of the query results.

Example: You might set criteria to retrieve orders placed in the last 30 days by entering "Between Date() And Date()-30" in the "OrderDate" field.

Sorting

Sorting organizes the data in the query results in a specific order, such as ascending or descending. Sorting is essential for presenting data in a logical and readable format. It can be based on one or more fields.

Example: Sorting the query results by "OrderDate" in descending order to display the most recent orders first.

Calculated Fields

Calculated fields allow you to create new fields based on existing data and calculations. These fields can perform complex calculations and display results in the query. Calculated fields enhance the functionality and flexibility of the query.

Example: Creating a calculated field to display the profit margin by subtracting the cost from the sales amount.

Joins

Joins are used to combine data from two or more tables based on a related column. Common types of joins include inner join, left join, and right join. Proper use of joins ensures that data from multiple tables is combined accurately and efficiently.

Example: Joining the "Customers" table with the "Orders" table on the "CustomerID" field to display customer information along with their orders.

Examples and Analogies

Think of Query Design View as a blueprint for building a house. Just as a blueprint outlines the structure and layout of a house, Query Design View outlines the structure and layout of a query. Table relationships are like the foundation, ensuring that the house is stable and well-connected. Field selection is like choosing the materials for the house, ensuring that the right elements are included. Criteria are like the building codes, ensuring that the house meets specific standards. Sorting is like arranging the rooms in the house, making it easy to navigate. Calculated fields are like custom features, adding unique and valuable elements to the house. Joins are like connecting different parts of the house, ensuring that everything is integrated and functional.

By mastering Query Design View in Microsoft Access, you can create efficient and effective queries that retrieve and display data accurately and efficiently.