Access 2016
Access 2016
Types of Controls
View the available controls by examining the Controls
gallery on the Form Design Tools – Design tab
Topic 1-A
Types of Controls
Select Select objects in the form.
Button Used to perform some sort of action, like the OK and Cancel
buttons on a dialog box.
Tab Control Create a series of tabs in your form, each with its own options.
This is useful if you have a large number of controls that can be
categorized.
Web Browser Like a hyperlink, but allows for finer control over the source data
pointed to by the link.
Option Group Click and drag a box around a group of controls to group them
together. Useful with radio buttons; users can select one option
out of the group.
Insert Page Break Used to create a cut-off point when printing a form. Even though
you may be able to see everything on your screen, when the
form is printed a new page will always begin when a page break
is encountered.
Combo Box Choose an option from a list that is displayed by clicking the pull-
down arrow.
Chart Click and drag an area in the form to open the Chart Wizard. This
wizard will analyze the data contained in a query or report and
display data in a graphical way.
Line Click and drag to draw a line in the form. Useful for dividing form
components into groups so they are easier to read.
Topic 1-A
Types of Controls
Toggle Button A toggle button’s command stays in effect when clicked and will
remain so until it is clicked again.
List Box Similar to a combo box, but can be expanded to show all of its
contents. A user simply picks the option out of the list they want
to use.
Check Box When checked, the condition bound to the checkbox is true or
active. When unchecked, the condition is false or inactive.
Unbound Object Allows you to create a special window inside a form to view
Frame another document while looking at your form. For example, you
could have a small window containing a PDF document or a
PowerPoint presentation inside your form.
Option Button Used to select a certain option, almost always in groups of two
(Radio Button) or more.
Bound Object Allows you to enter and control various expressions and low-
Frame level operations that can be performed on the database.
Command Buttons
Command buttons are used to perform an action. For
example, the OK and Cancel buttons on any dialog
box are considered command buttons
Topic 1-A
Calendar/Datepicker Control
The Datepicker component of the Text Box control is
accessed by clicking the small calendar icon to the
right of the text box
Topic 1-A
Calendar/Datepicker Control
Click on a date to insert it into the text box
Topic 1-A
Form Layouts
Design View allows you to adjust every underlying
aspect of a form. Layout View lets you modify how
the form will look while viewing the data in the form
at the same time
Topic 1-A
Quick Styles
Click Form Design Tools – Format → Quick Styles, and
then choose a style from the gallery
Topic 1-A
Tab Order
Tab order refers to the order that users can navigate
through a form using only the Tab key. For example, if
a user finished entering text into Field1, they could
press Tab to switch their cursor’s focus to Field2 and
complete that field
Topic 1-A
Tab Order
Change Tab Order
Click Form Design Tools – Design → Tab Order
Topic 1-A
Tab Order
The Tab Order dialog box will open
Topic 1-A
Manage Labels
Labels can have properties set in the same way that
properties are set for bound controls. You will notice
that there are no Data or Event properties available
for labels.
Topic 1-C
Subforms
Open a form in Design View. Next, click Form Design
Tools – Design → Subform/Subreport
Topic 1-C
Subforms
Click on the location where you want the subform to
be placed. The SubForm Wizard will then start
Topic 1-D
TOPIC D: Organize
Information with Tab Pages
In this topic, you will learn:
• About tab pages
Topic 1-D
Tab Pages
Click the Tab Control in the Controls gallery
Topic 1-D
Tab Pages
Click and drag in the form to create the tabbed page.
You can then expand it and add fields and controls to
each tab as needed
Topic 1-E
Insert Images
• Choose Design → Insert Image → Browse.
Browse to the image and click the image
• The mouse pointer turns into an image icon
• Click the upper left corner of the space to hold
the image to insert it
Topic 1-F
Insert Images
The image is centered by setting the Picture
Alignment property in the image’s Property Sheet
Topic 1-F
Auto-Order Forms
Click the Tab Order icon in the Tools group on the
Design tab
Topic 1-F
Auto-Order Forms
Click the row headers for controls and drag the
controls in the list to re-order them
Topic 1-F
Auto-Order Forms
Pressing the Auto Order button will set the tabs so
the tab key will move vertically from top to bottom
through the form
Topic 1-F
Sort Records
Open a form in its default view
Topic 1-F
Sort Records
To sort by any field, right-click the field header and
click Sort A to Z
Topic 1-F
Sort Records
Open a form in Design View
Topic 1-F
Sort Records
Open the Property sheet if it is not already open
Topic 1-F
Sort Records
In the Property Sheet click the Selection Type: text
box and select Form from the list of objects
Topic 1-F
Sort Records
Click the Data tab and in the text box for Order By
type the field name to sort on when the form opens
Topic 1-F
Apply Themes
To apply a theme, open the form in Design View
Topic 1-F
Apply Themes
With the theme open Click the Theme icon in the
Themes group on the Design tab
Topic 1-F
Apply Themes
Move the mouse pointer over the themes and click on
a theme to choose it
Topic 1-F
Apply Themes
Save your changes and choose View → Form View
from the Views group on the Design tab
Topic 1-F
Insert Backgrounds
Open a form in Design View. Right-
click the form name in the Navigation
pane and choose Design View
Topic 1-F
Insert Backgrounds
Open the Property Sheet
Topic 1-F
Insert Backgrounds
Click the Selection type text box and select Form
Topic 1-F
Insert Backgrounds
Click the browse icon on the far right of the Picture
text box and browse to the folder to use
Topic 1-F
Insert Backgrounds
In the Insert Picture dialog box select an image for the
background and click OK
Topic 1-F
Insert Backgrounds
The image is inserted. On the Property Sheet for the
form, choose Yes in the Picture Tiling text box
Topic 1-F
Insert Backgrounds
On the Design tab click the View icon on the left to
exit Design View and return to the Form View
Topic 1-F
Insert Backgrounds
The form shows the background image
Topic 1-F
Change Margins
With a form open, click File → Print → Print Preview
Topic 1-F
Change Margins
In the Page Size group, click Margins → Normal
Topic 1-F
Change Margins
In Design View, click the Detail section bar to view its
Property Sheet
Topic 1-F
Change Margins
On the Format tab in the Property Sheet, in the Force
New Page text box choose After Section
Topic 1-F
Change Margins
Close the Property Sheet. Click CTRL+A. Use the right-
arrow key to move all the controls to the right
Topic 1-F
Change Margins
Return to the Print Preview window to see the results.
Choose File → Print → Print Preview
Topic 1-G
Conditional Formatting
Conditional formatting is a new feature designed to
bring attention to data that meets specified criteria by
applying special formatting to data only if it satisfies a
particular condition
Topic 1-G
Conditional Formatting
Open a form in Design View.
Right-click on a field and click
Conditional Formatting. You
can also find this command
on the Form Design Tools –
Format tab
Topic 1-G
Conditional Formatting
Click New Rule
Topic 1-G
Conditional Formatting
Use the New Formatting Rule dialog box to create the
criteria and format to apply to this field
Lesson 1
Summary
Over the course of this lesson, you learned how to add
controls to a form to allow for information to be displayed,
edited, and/or entered. You also learned about subforms
and how they can be used to add greater context to
information in a form. Additionally, you should now be
comfortable adding tab pages to forms to break them up
into sections that are more user-friendly. You should also be
familiar with applying conditional formatting to highlight
important information, and applying some of the form
options that are available.
Lesson 1
Review Questions
1. What do Quick Start fields allow you to do?
2. How do you open the SubForm Wizard?
3. How many tabs are included by default when you
add the Tab control?
4. What is the procedure for changing the data source
for a form control?
5. What is conditional formatting?
Lesson 2
USING DATA VALIDATION
Lesson 2:
Using Data Validation
In this lesson, you will learn about:
• Field and record validation
• Form validation
Topic 2-A
Field Properties
Open a table in Design View.
Select the field whose
properties you want to view
from the Field Name list. Its
properties are shown in the
pane along the bottom
Topic 2-A
Input Masks
An input mask applies formatting to data within a
field. For example, the phone number 5557482234 is
harder to read than (555) 748-2234. An input mask
can be applied to any data to make it appear as
desired. Additionally, input masks establish
requirements for a field.
Topic 2-A
L Required letter.
? Optional letter.
Lookup Lists
Lookup lists (sometimes referred to as lookup fields)
are used to restrict what a user can enter into a field
to a curated list of preconfigured values. The source
of these values can be a list that is created by the
database designer or a field from another table.
Topic 2-A
Lookup Lists
The Lookup Wizard - This wizard
appears when the Lookup Wizard
option is chosen as a data type
Topic 2-A
Lookup Lists
Once you choose this option, the Lookup Wizard starts
Topic 2-A
Expression Builder
To open the Expression Builder, click the icon in a
supported field’s properties
Topic 2-A
Expression Builder
The Expression Builder contains space to construct an
expression, and a variety of elements to choose from
Topic 2-B
Form Validation
To set validation of a control inside a
form, open the form in Design View
Topic 2-B
Form Validation
In Design View, right-click the control for validation to
be set, and select Properties from the pop-up list
Topic 2-B
Form Validation
In the Property Sheet, select the Data tab, and in the
Validation Rule text box enter “>=Date()”
Topic 2-B
Control Wizards
The Control Wizard appears when you add certain
objects to a form. For example, a combo box
Topic 2-B
Record Validation
Record validation is
applied using the
Validation Rule field in
the Field Properties pane
of Design View while a
field is selected
Topic 2-B
Record Validation
You can also apply validation rules to selected records
in Datasheet View by clicking Table Tools – Fields →
Validation → Record Validation Rule
Topic 2-B
Record Validation
Validation rules can also be
set for controls on forms by
adding Validation Rules and
Validation Text on the
Property Sheet for the
control
Lesson 2
Summary
During this lesson, you learned about the various field
and record validation methods that you can apply to
tables and forms. You should feel comfortable using
the Field Properties pane of Design View to create
and apply input masks to fields in a table, as well as
create lookup lists. You should also now be
comfortable setting validation using specific form
controls.
Lesson 2
Review Questions
1. What table view displays the Field Properties pane?
2. What does the “9” input mask character represent?
3. What is the command sequence to apply record
validation to a selected field in Datasheet View?
4. How many items can you select at once using the List
Box control?
5. What kind of controls can be included in the Option
Group control?
Lesson 3
USING MACROS TO IMPROVE USER
INTERFACE DESIGN
Lesson 3:
Using Macros to Improve User
Interface Design
In this lesson, you will learn how to:
• Create macros
• Restrict records using a condition
• Validate data using a macro
• Automate data entry using a macro
• Convert a macro to VBA
Topic 3-A
Macros
Macros are small programs that are created to
complete a specific task or set of tasks that are
typically repetitive in nature. They are created with
the Macro Builder or by coding them in Visual Basic
for Applications. Once the macro is complete, you can
bind it to a custom button or shortcut key.
Topic 3-A
Macro Actions
Construction of macros hinges on the selection of
macro actions. As the name implies, actions
represent what happens when the macro is run. A
macro can include up to 999 actions!
Topic 3-A
Action Arguments
An argument is used in programming to configure
how an action behaves.
Topic 3-A
Object Events
You are able to configure actions that will execute a
macro when an event occurs
Topic 3-A
Object Events
The events have been categorized into seven groups
Window Events Opening, closing, or resizing a window.
Object Events
Events and Macros - Macros can be attached to
events so that the macro will run when that event
occurs. For example, you could have a button on a
form that will execute a previously created macro
when it is clicked by the user.
Topic 3-A
Macro Conditions
Macro conditions and expressions are used to specify
if an action will occur based upon a specified set of
circumstances. These circumstances are true-or-false
based. Note that one condition can be used with
multiple actions.
Topic 3-B
Embedded Macros
• Stand-alone macros are like other database
objects. To run one, just double-click the name of
the macro inside the Navigation pane.
• Embedded macros are different in that they are
part of an event, like the On Click event for a
command button, or the On Current event for a
form.
Topic 3-D
Summary
Over the course of this lesson, you learned about
macros, including how they work and how to create
them. You should now feel comfortable creating basic
macros that use actions, conditions, arguments, and
events to complete a task. You should also be able to
create macros that complete basic validation and
automation tasks, as well as convert existing macros
to VBA.
Lesson 3
Review Questions
1. What is a macro?
2. What are macro conditions used for?
3. What is an embedded macro?
4. What should you do if you cannot see the SetValue
action in the Add New Action drop-down menu?
5. What is the command sequence to convert a
macro to VBA?
Lesson 4
USING ADVANCED DATABASE
MANAGEMENT
LESSON 4:
USING ADVANCED DATABASE
MANAGEMENT
In this lesson, you will learn how to:
• Link tables to external data sources
• Manage a database
• Determine object dependency
• Document a database
• Analyze the performance of a database
Topic 4-A
Exclusive Mode
Click File → Open
Topic 4-B
Exclusive Mode
Browse to a database to open. Click the pull-down
arrow beside Open and click Open Exclusive
Topic 4-B
Database Backup
Click File → Save As → Save Database As. Then,
double-click Back Up Database
Topic 4-B
Database Backup
Name the file, choose a backup location and then
click Save to complete the backup process
Topic 4-B
Object Dependency
Relationships (dependencies) are one of the main
characteristics of almost every database. Tables can
have relationships with other tables, forms can be
dependent on queries, and reports can be dependent
on tables.
Topic 4-C
Object Dependency
Object Dependencies Task Pane - To examine
dependencies for a particular object, select a
database object in the Navigation pane (or open it)
and click Database Tools → Object Dependencies
Topic 4-C
Object Dependency
Click OK to continue
Topic 4-C
Object Dependency
The Object Dependencies task
pane lists all other objects that
are dependent on the current
object
Topic 4-C
Object Dependency
• Objects that depend on a
particular table are visible by
selecting one of the two radio
buttons at the top of the pane.
• Click the sign beside various
objects in the pane to view the
object dependency hierarchy
Topic 4-D
TOPIC D: Document a
Database
In this topic, you will learn:
• About the Database Documenter
Topic 4-D
Performance Analyzer
Click Database Tools → Analyze Performance
Topic 4-E
Performance Analyzer
Choose objects to include in the analysis, just like
when using the Database Documenter
Topic 4-E
Performance Analyzer
Choose the object(s) to include in the performance
analyzer and click OK
Lesson 4
Summary
Over the course of this lesson, you learned about the
various advanced database management tools that
are available in Microsoft Access 2016. You should
now be comfortable linking tables to various external
data sources, as well as managing databases in a few
different ways. Additionally, you should now be
comfortable finding information about a database,
including object dependency and performance
information.
Lesson 4
Review Questions
1. What is the command sequence to open the Linked
Table Manager?
2. What does exclusive mode do?
3. What is the command sequence to determine the
dependency of a selected object?
4. How will documentation generated by the Database
Documenter be displayed?
5. What sequence starts the Performance Analyzer?
Lesson 5
DISTRIBUTING AND SECURING A
DATABASE
Lesson 5:
Distributing and Securing a
Database
In this lesson, you will learn how to:
• Prepare a database for multiple user access
• Secure a database
• Set passwords for a database
• Convert an Access database to an ACCDE file
format
• Package a database with a digital signature
Topic 5-A
Splitting a Database
Front-End and Back-End Databases - In a split
database, a front-end is created for the users,
consisting of the forms, reports, and other objects
that are required to work with the database.
As for the underlying data, a back-end is created
consisting of the data tables. This back-end is stored
on the network.
Topic 5-A
Splitting a Database
The Database Splitter
Open a file and make sure that all objects are closed.
Click Database Tools → Access Database
Topic 5-A
Splitting a Database
Split the database and choose where you want the
back-end to be stored
Topic 5-A
Merging a Database
Open the front end database and delete the links that
point to the tables
Topic 5-A
Merging a Database
Click External Data → Access in the Import & Link
group
Topic 5-A
Merging a Database
Browse to the database containing the tables that
were originally linked and click OK
Topic 5-A
Merging a Database
The Import Objects dialog box will open
Topic 5-A
Merging a Database
Choose Select All and click OK
Topic 5-A
Merging a Database
The tables appear in the Navigation pane
Topic 5-A
Merging a Database
Open the Relationships window from the Database
Tools tab and see the relationships are still in place
between the appropriate fields
Topic 5-B
Trusted Locations
Trusted locations are areas on your computer, a
computer on your network, a server on your network,
or an external data source where you store trusted
files that you know are safe.
Topic 5-C
Password Protection
Guidelines
• Length: Ensure that passwords use at least eight
characters.
• Numbers: Try to include at least one numeric
character.
• Capitalization: Try to include a mix of uppercase
and lowercase letters.
• Special characters: Try including a variety of
special characters (!, @, #, $, _, etc.).
Topic 5-D
User Templates
Click Create → Application
Parts, and choose the
desired Quick Start
template
Topic 5-D
Saving Databases as
Templates
Click File → Save As and in the Save Database As
group, double-click Template
Topic 5-D
Saving Databases as
Templates
The displays the Create New Template from This
Database dialog box
Topic 5-E
TOPIC E: Package a
Database with a Digital
Signature
In this topic, you will learn:
• About digital signatures
• About digital certificates
• About the Package and Sign feature
Topic 5-E
Digital Signatures
Digital signatures serve the same purpose as a
written signature or a wax seal: they identify
someone or something, and no two individual
signatures are exactly the same. Additionally, a signed
certificate verifies that the database is from a trusted
source and has not been tampered with since it was
signed.
Topic 5-E
Digital Certificates
Digital certificates are used to identify the creator
and sender of a file. Digital certificates usually include
the name of the file, serial number, expiration date,
and public key. While digital certificates are typically
generated by a trusted third-party certificate
authority (CA), you are able to generate your own.
Topic 5-E
Summary
During this lesson, you learned about the many ways
that you can distribute and secure a database. You are
now able to split a database, as well as implement
many of the security strategies that are available in
Access 2016. You should feel comfortable converting a
database into the ACCDE format and be able to
package and digitally sign a database for distribution.
Lesson 5
Review Questions
1. What two parts make up a split database?
2. How do you open the Trust Center dialog box?
3. What are the four database access modes?
4. What does ACCDE stand for?
5. What is the command sequence to use the Package
and Sign feature?
Lesson 6
MANAGING SWITCHBOARDS
Lesson 6:
Managing Switchboards
In this lesson, you will learn how to:
• Create a database switchboard
• Modify a database switchboard
• Set startup options
Topic 6-A
Switchboards
A Switchboard is a specialized type of form that is
used to organize and control access to the objects in
your database. Typically, the switchboard is set to
open when the database is opened and acts as a
gatekeeper for your data.
Topic 6-A
Switchboard Manager
To display the Switchboard
Manager, add its command to
the ribbon using the
Customize Ribbon category of
the Access Options dialog box
Topic 6-A
Switchboard Manager
Once displayed, it will remain on the ribbon in the
chosen location unless you remove it
Topic 6-A
Switchboard Manager
The Switchboard Manager Dialog Box - After
reviewing the warning, click Open to proceed
Topic 6-A
Switchboard Manager
A second message box will give you the chance to
create a valid switchboard
Topic 6-A
Switchboard Manager
The Switchboard Manager dialog box opens
Topic 6-B
Switchboard Modification
Use the drop-down commands in the Themes group
of the Form Design Tools – Design tab to change the
switchboard appearance
Topic 6-B
Switchboard Modification
Changes can also be made by
right-clicking within the
various form sections and
using the Fill/Back Color or
Font/Fore Color sub-menus
Topic 6-C
Summary
Over the course of this lesson, you learned how to
create and manage switchboards. You are now
comfortable creating a new switchboard from scratch,
as well as modifying its design elements as needed.
You are also now able to modify the database startup
options to launch a form by default when the
database is first opened, as well as hide certain
elements of the Access 2016 interface.
Lesson 6
Review Questions
1. What is a switchboard?
2. Where is the Switchboard Manager command located on
the ribbon?
3. What view(s) allow you to modify the design elements of
a switchboard?
4. Where can you find the controls to modify the startup
options for a database?
5. What type of object can be opened automatically when a
database is first opened?