Professional Documents
Culture Documents
Copyright 2020 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
Shelly Cashman Series® Microsoft® Office 365® & Access® 2019 Comprehensive Contents vii
To Change the Appearance of the Controls To Open the Appointment View and
in the Subreport AC 6-37 Update Form AC 7-23
To Resize the Subreport and the Report Using the Buttons AC 7-23
in Design View AC 6-38 To Test the Add Record Button AC 7-23
To Change the Can Grow Property AC 6-40 To Use the Combo Box AC 7-24
To Modify Section Properties AC 6-40 Issues with the Add Record Button AC 7-25
To Add a Title, Page Number, and Date AC 6-41 Issues with the Combo Box AC 7-26
To Remove the Header Background Color Macros AC 7-26
and the Alternate Color AC 6-42 To Modify the Macro for the Add Record Button AC 7-26
Headers and Footers AC 6-44 To Modify the Combo Box AC 7-29
Creating a Second Report AC 6-46 To Correct Issues with the Combo Box AC 7-30
To Create a Second Report AC 6-46 Using the Modified Form AC 7-31
To Add and Move Fields in a Report AC 6-47 Creating a Multipage Form AC 7-33
To Add the Remaining Fields AC 6-50 To Import a Table AC 7-33
Totals and Subtotals AC 6-52 To Create a Form in Design View AC 7-34
To Add Subtotals and Other Calculations AC 6-54 To Use the Text Box Tool with Concatenation AC 7-34
To Add a Header and Footer to the Discount To Use Tab Controls to Create a
Report AC 6-55 Multipage Form AC 7-35
To Change the Can Grow Property AC 6-56 To Add a Subform AC 7-36
To View the Report AC 6-56 To Modify a Subform AC 7-38
To Remove the Color from the Report Header AC 6-57 To Resize the Subform AC 7-39
To Use Expression Builder to Add a Calculation AC 6-58 To Change the Background Color AC 7-40
To Add a Title AC 6-60 To Insert Charts AC 7-40
To Change the Border Style AC 6-61 To Use the Form AC 7-43
To Remove the Alternate Color AC 6-61 To Modify a Chart Type AC 7-44
Obtaining Help on Functions AC 6-62 To Format a Chart AC 7-47
Report Design Tools Page Setup Tab AC 6-62 Summary AC 7-49
To Change the Report Margins AC 6-64 Apply Your Knowledge AC 7-50
Fine-Tuning a Report AC 6-64 Extend Your Knowledge AC 7-51
To Make Room For Resizing or Adding Controls AC 6-65 Expand Your World AC 7-51
Summary AC 6-65 In the Labs AC 7-52
Apply Your Knowledge AC 6-67
Extend Your Knowledge AC 6-68 MODULE EIGHT
Expand Your World AC 6-68 Macros, Navigation Forms, and Control
In the Labs AC 6-69 Layouts
Objectives AC 8-1
MODULE SEVEN Introduction AC 8-1
Advanced Form Techniques Project—Macros, Navigation Forms, and
Objectives AC 7-1 Control Layouts AC 8-1
Introduction AC 7-1 Creating and Using Macros AC 8-4
Project — Advanced Form Techniques AC 7-1 To Begin Creating a Macro AC 8-4
Creating a Form with Combo Boxes and The Macro Builder Window AC 8-6
Command Buttons AC 7-3 To Add an Action to a Macro AC 8-7
To Create a Form in Design View AC 7-4 To Add More Actions to a Macro AC 8-9
To Add Fields to the Form Design AC 7-5 Opening Databases Containing Macros AC 8-13
Combo Boxes AC 7-6 Errors in Macros AC 8-13
To Add a Combo Box That Selects Values AC 7-6 Creating and Using a Navigation Form AC 8-16
To Use the Background Color Button AC 7-10 To Create a Menu Form Containing
To Format a Control AC 7-10 Command Buttons AC 8-17
To Use the Format Painter AC 7-11 Option Groups AC 8-20
To View the Form AC 7-12 To Create a Menu Form Containing an
To Add a Title and Expand the Form Option Group AC 8-21
Header Section AC 7-13 Using an If Statement AC 8-26
To Change the Background Color of the To Create a Macro with a Variable for the
Form Header AC 7-14 Option Group AC 8-28
Headers and Footers AC 7-14 Macro for Option Group AC 8-30
Images AC 7-15 To Add Actions to the Form Options Macro AC 8-31
Command Buttons AC 7-15 User Interface (UI) Macros AC 8-33
To Add Command Buttons to a Form AC 7-16 To Create Datasheet Forms AC 8-36
To Add a Combo Box for Finding a Record AC 7-18 To Create UI Macros for the Datasheet Forms AC 8-37
To Place a Rectangle AC 7-22 To Create a Navigation Form AC 8-39
Copyright 2020 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
viii Contents Shelly Cashman Series® Microsoft® Office 365® & Access® 2019 Comprehensive
Copyright 2020 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
Shelly Cashman Series® Microsoft® Office 365® & Access® 2019 Comprehensive Contents ix
Copyright 2020 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
Copyright 2020 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
Getting to Know
Microsoft Office Versions
Cengage is proud to bring you the next edition of Microsoft Office. This
edition was designed to provide a robust learning experience that is not
dependent upon a specific version of Office.
Microsoft supports several versions of Office:
• Office 365: A cloud-based subscription service that delivers
Microsoft’s most up-to-date, feature-rich, modern productivity tools
direct to your device. There are variations of Office 365 for business,
educational, and personal use. Office 365 offers extra online storage
and cloud-connected features, as well as updates with the latest
features, fixes, and security updates.
• Office 2019: Microsoft’s “on-premises” version of the Office apps,
available for both PCs and Macs, offered as a static, one-time
purchase and outside of the subscription model.
• Office Online: A free, simplified version of Office web applications
(Word, Excel, PowerPoint, and OneNote) that facilitates creating and
editing files collaboratively.
Office 365 (the subscription model) and Office 2019 (the one-time pur-
chase model) had only slight differences between them at the time this
content was developed. Over time, Office 365’s cloud interface will con-
tinuously update, offering new application features and functions, while
Office 2019 will remain static. Therefore, your onscreen experience may
differ from what you see in this product. For example, the more advanced
features and functionalities covered in this product may not be available
in Office Online or may have updated from what you see in Office 2019.
For more information on the differences between Office 365, Office 2019,
and Office Online, please visit the Microsoft Support site.
Cengage is committed to providing high-quality learning solutions for
you to gain the knowledge and skills that will empower you throughout
your educational and professional careers.
Thank you for using our product, and we look forward to exploring the
future of Microsoft Office with you!
Getting to Know Microsoft Office Versions OFF-1
Copyright 2020 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
Copyright 2020 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
Using SAM Projects
and Textbook Projects
SAM and MindTap are interactive online platforms designed to transform
students into Microsoft Office and Computer Concepts masters. Practice
with simulated SAM Trainings and MindTap activities and actively apply
the skills you learned live in Microsoft Word, Excel, PowerPoint, or Access.
Become a more productive student and use these skills throughout
your career.
If your instructor assigns SAM Projects:
1. Launch your SAM Project assignment from SAM or MindTap.
2. Click the links to download your Instructions file, Start file, and
Support files (when available).
3. Open the Instructions file and follow the step-by-step instructions.
4. When you complete the project, upload your file to SAM or MindTap
for immediate feedback.
To use SAM Textbook Projects:
1. Launch your SAM Project assignment from SAM or MindTap.
2. Click the links to download your Start file and Support files
(when available).
3. Locate the module indicated in your book or eBook.
4. Read the module and complete the project.
Save, close, and upload your completed project to receive
immediate feedback.
IMPORTANT: To receive full credit for your Textbook Project, you must
complete the activity using the Start file you downloaded from SAM
or MindTap.
Using SAM Projects and Textbook Projects SAM-1
Copyright 2020 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
Copyright 2020 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
1 Databases and
Database Objects:
An Introduction
Objectives
You will have mastered the material in this module when you can:
• Describe the features of the Access • Open a database
window
• Create and use a query
• Create a database
• Create and use a form
• Create tables in Datasheet and Design views
• Create a report
• Add records to a table
• Perform special database
• Close a database operations
Introduction
The term database describes a collection of data organized in a manner that allows
access, retrieval, and use of that data. Microsoft Access 2019, usually referred to as
simply Access, is a database management system. A database management system is
software that allows you to use a computer to create a database; add, change, and delete
data in the database; ask and answer questions concerning the data; and create forms
and reports using the data.
Project—Database Creation
CanisMajorFelis Veterinary, or CMF Vets as its commonly known, is a veterinary
practice that takes care of all cat and dog pet needs. Up until now, the appointment
system has been paper-based. The staff records appointments in a large book with
each page containing a specific date and time. Each page has slots for appointments,
which are made in pencil to allow for changes. CMF Vets wants to computerize the
appointment system with an Access database. The practice owns multiple veterinary
clinics in the southwest. The practice wants to make the appointment system easier
to use and more efficient. To accomplish that goal, the practice needs better record
keeping.
Copyright 2020 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
CMF Vets needs to record all information about the pet owners. Name and full
mailing address are essential pieces of information. In addition, the practice must be
able to contact pet owners quickly. The staff needs to record home phone numbers,
mobile phone numbers, and email addresses for appointment reminders, test results,
and emergency calls.
Patient information is paramount. The patient’s breed, animal type, name, and
owner should be always recorded so that information can be easily retrieved. The
database should also contain each patient’s appointments with specific date, time, and
procedure. For example, the staffing requirements of a surgical procedure will differ
from those of a check-up.
Each treatment has a specific cost, which needs to be recorded and applied
as patients undergo these treatments. The database system must also track the
veterinarians who perform these treatments.
By recording all of its practice information, CMF Vets keeps its data current and
accurate and can analyze it for trends. Using a database also allows CMF Vets to create
a variety of useful reports; for example, tracking the frequency of certain procedures.
These reports are vital for planning purposes.
In a relational database, such as those maintained by Access, a database consists
of a collection of tables, each of which contains information on a specific subject.
Figure 1–1 shows the database for CMF Vets. It consists of five tables: the Owners
table (Figure 1–1a) contains information about the pet owners, the Patients table
(Figure 1–1b) contains contact information for each pet’s owner, the Appointments
table (Figure 1–1c) contains information about the scheduling of appointments,
the Treatment Cost table (Figure 1–1d) contains information about the cost of
each treatment, and the Veterinarians table (Figure 1–1e) contains a listing of the
veterinarians in the practice.
fields
records
caption for
Owner ID field
Patient ID
for Ranger
is C-2 Figure 1–1b Patients Table
each appointment
has unique
Appointment ID
Figure 1–1c Appointments Table
AC 1-2
Copyright 2020 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
cat (feline) microchip
cost is $10
The rows in the tables are called records. A record contains information about BTW
a given person (or in this case, pet), product, or event. A row in the Owners table, Captions
You can change a field’s
for example, contains information about a specific owner, such as the owner’s name, caption, or the wording that
address, and other data. appears as the field’s name,
The columns in the tables are called fields. A field contains a specific piece of to language that is more
descriptive, shorter, or meets
information within a record. In the Owners table, for example, the fifth field, Owner
some other requirement.
City, contains the name of the city where the owner is located.
The first field in the Owners table is Owner ID, which is an abbreviation for
Owner Identification Number. CMF Vets assigns each owner an identifying number;
the Owner ID consists of one uppercase letter followed by a number. BTW
The Owner IDs are unique; that is, no two owners have the same number. Such Naming Fields
a field is a unique identifier. A unique identifier, as its name suggests, is a way of Access 2019 has a number
of reserved words, words
uniquely identifying each record in the database. A given owner number will appear that have a special meaning
only in a single record in the table. Only one record exists, for example, in which the to Access. You cannot use
Owner ID is O-2. A unique identifier is also called a primary key. Thus, the Owner these reserved words as
field names. For example,
ID field is the primary key for the Owners table. This means the Owner ID field can Name is a reserved word
be used to uniquely identify a record in the table. No two records can have the same and could not be used in
value in the Owner ID field. the Owners table to describe
The next nine fields in the Owners table are Owner First Name, Owner Last a pet owner’s name. For a
complete list of reserved
Name, Owner Street, Owner City, Owner State, Owner Postal Code, Home Phone, words in Access 2019,
Mobile Phone, and Email Address. For example, Owner ID O-2 is Steven Nguyen, consult Access Help.
AC 1-3
Copyright 2020 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
AC 1-4 Access Module 1 Databases and Database Objects: An Introduction
who lives at 9874 South Main Street in Blanding UT, 84511. Steven has a home phone
number, a mobile phone number, and an email address of snguyen@cengage.com.
CMF Vets database contains a table called Patients. Within the Patients table,
each pet is assigned a unique identifier called Patient ID. For example, the dog Ranger
has a Patient ID of C-2. No other pet has this Patient ID. Ranger’s name is indicated
in the Patient Name field. His animal type is under the Animal Type field recorded
as Canine with a Breed of Labrador. CMF Vets associates each patient with his or her
owner by including a field in the Patients table called Owner ID. The Owner ID field
in the Patients corresponds with an Owner ID field in the Owners table. Ranger is
owned by a unique owner of Owner ID O-1.
There are three other tables within the CMF Vets database. The Appointments
table records each pet appointment. Each appointment is assigned an Appointment ID.
This Appointment ID is unique for each procedure booked at the veterinary clinic. For
example, Appointment ID 1 has Patient ID F-1 coming in for the Appointment Date
of June 30, 2021 at Appointment Time 10:00 A.M. This patient will have Treatment
Number T-3. Treatment Number T-3 refers to a specific treatment that is explained
in the fourth table, Treatment Cost. The Treatment Cost table lists the treatments
available at CMF Vets. Each treatment is assigned a unique identifier called Treatment
Number. For example, Treatment Number T-10 indicates that the treatment is a
Neuter, under the field Treatment, of a Feline, under the Animal Type, with a cost
of $25, under the field Cost. Finally, there is a table called Veterinarians that lists
the veterinarians in the practice. Each doctor has a unique Veterinarian ID that is
associated with the veterinarian’s contact details. For example, Veterinarian ID G01 is
Teresa Gomez, in Blanding, Utah, with a cell phone number of 435-229-5612.
If CMF Vets had a test result of a specific patient, Ranger, Patient ID C-2, and the veterinarian wanted to telephone the owner
with the test results, the vet could easily find that telephone number by looking in the Patients table and then in Owners table.
In the Patients table, locate the Patient C-2 and read across until you come to the Owner ID field, which is O-1. Then, in the
Owner table, locate the record which has the Owner ID O-1, and read across to find the owners name, Ted Sabus, and his
phone numbers, home and mobile.
First, look in the Patients table to identify the specific pet and its Patient ID. Assume that the Patient’s Owner is O-1 and the
Patient’s name is Fluffy. Fluffy’s Patient ID is F-1. Next, look in the appointments table for Patient F-1 and find that Fluffy is
scheduled to come into the clinic on June 30, 2021 at 10:00 A.M.
Creating a Database
In Access, all the tables, reports, forms, and queries that you create are stored in a
single file called a database. A database is a structure that can store information about
multiple types of objects, the properties of those objects, and the relationships among
the objects. The first step is to create the database that will hold your tables, reports,
forms, and queries. You can use either the Blank desktop database option or a template
to create a new database. If you already know the tables and fields you want in your
database, you would use the Blank desktop database option. If not, you can use a
template. Templates can guide you by suggesting some commonly used databases.
Copyright 2020 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
Databases and Database Objects: An Introduction Access Module 1 AC 1-5
Access Module 1
To Create a Database
Because you already know the tables and fields you want in the CMF Vets database, you will use the Blank
desktop database option rather than a template to create the database. Why? The Blank desktop database is the most
efficient way to create a database for which you already know the intended data needs. The following steps create the database.
1
• Click the Windows Start button
to display the Windows menu.
Figure 1–2a
2
• Click the Blank database button to specify the type of database to create.
• Type CMF Vets in the File Name text box, and then click the Create button to create the database
(Figure 1–2).
Access automatically
table appears
creates default table
in Datasheet
view (rows and
columns in table
appear in a grid)
Datasheet view
button is selected
Figure 1–2
Copyright 2020 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
AC 1-6 Access Module 1 Databases and Database Objects: An Introduction
Unlike other Microsoft Office applications, the Access app allocates storage space when the database is created, even before
any tables have been designed and data has been entered. In other Microsoft Office applications, you can enter data before
saving. In Access, as you are working and saving each object, such as a table, the entire database is being saved in the app’s
designated storage space.
Q&A The title bar for my Navigation Pane contains All Tables rather than All Access Objects,
as in the figure. Is that a problem?
BTW
It is not a problem. The title bar indicates how the Navigation Pane is organized. You
Available Templates
can carry out the steps in the text with either organization. To make your screens match
The templates gallery
includes both desktop and the ones in the text, click the Navigation Pane arrow and then click Object Type.
web-based templates. If
I do not have the Search bar that appears in the figure. Is that a problem?
you are creating an Access
database for your own use, It is not a problem. If your Navigation Pane does not display a Search bar and you want
select a desktop template. your screens to match the ones in the text, right-click the Navigation Pane title bar arrow
Web-based templates allow to display a shortcut menu, and then click Search Bar.
you to create databases
that you can publish to a
SharePoint server.
To Create a Database Using a Template
Ideally, you will design your own database, create a blank database, and then
create the tables you have determined that your database should contain. If you are
not sure what database design you will need, you can use a template. Templates can
guide you by suggesting some commonly used databases. To create a database using a
BTW template, you would use the following steps.
Organizing Files and
Folders 1 If you have another database open, close it without exiting Access by clicking File on
You should organize and the ribbon to open the Backstage view and then clicking Close.
store files in folders so that
you easily can find the files 1
2 Click File – New. If you do not see a template that you want, you can search Microsoft
later. For example, if you Office online for additional templates.
are taking an introductory
computer class called CIS 1
3 Click the template you want to use. Be sure you have selected one that indicates it is
101, a good practice would for a desktop database.
be to save all Access files in 1
4 Enter a file name and select a location for the database.
an Access folder in a CIS 101
folder. 1
5 Click the Create button to create the database.
BTW
Access Screen Navigation Pane and Access Work Area
Resolution You work on objects such as tables, forms, and reports in the Access work area.
If you are using a computer
or mobile device to step
Figure 1–2 shows a single table, Table1, open in the work area. Object tabs for the
through the project in this open objects appear at the top of the work area. If you have multiple objects open at
module and you want the same time, you can select one of the open objects by clicking its tab. To the left of
your screens to match the the work area is the Navigation Pane. The Navigation Pane contains a list of all the
figures in this book, you
should change your screen’s objects in the database. You use this pane to open an object. You can also customize the
resolution to 1366 x 768. way objects are displayed in the Navigation Pane.
Copyright 2020 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
Databases and Database Objects: An Introduction Access Module 1 AC 1-7
Access Module 1
The status bar, located at the bottom of the Access window, presents BTW
information about the database object, the progress of current tasks, and the status of Naming Tables
Database users typically have
certain commands and keys; it also provides controls for viewing the object. As you their own guidelines for
type text or perform certain commands, various indicators might appear on the status naming tables. Some use the
bar. The left edge of the status bar in Figure 1–2 shows that the table object is open in singular version of the object
being described while others
Datasheet view. In Datasheet view, the table is represented as a collection of rows and
use the prefix tbl with a table
columns called a datasheet. Toward the right edge are View buttons, which you can name. This book uses the
use to change the view that currently appears. singular and plural version of
the object (Owners, Patients,
Appointments, Treatment
Cost).
Copyright 2020 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
AC 1-8 Access Module 1 Databases and Database Objects: An Introduction
BTW operations. You usually assign fields that contain numbers but will not
AutoNumber Fields be used for arithmetic operations (such as postal codes) a data type of
AutoNumber fields also are
called AutoIncrement fields.
Short Text.
In Design view, the New 3. Currency — The field can contain only monetary data. The values will appear
Values field property allows
with currency symbols, such as dollar signs, commas, and decimal points, and
you to increment the field
sequentially (Sequential) or with two digits following the decimal point. Like numeric fields, you can use
randomly (Random). The currency fields in arithmetic operations. Access assigns a size to currency fields
default is sequential. automatically.
4. Date & Time — The field can contain dates and/or times.
Table 1–1 shows the other data types that are available in Access.
BTW In the Owners table, because the Owner ID, Owner First Name, Owner Last
Currency Symbols Name, Owner Street, Owner City, Owner State, Owner Postal Code, Home Phone,
To show the symbol for the
Euro ( € ) instead of the dollar
Mobile Phone, and Email Address can all contain letters or symbols, their data types
sign, change the Format should be Short Text. The data type for Owner Postal Code is Short Text instead of
property for the field whose Number because you typically do not use postal codes in arithmetic operations; you do
data type is currency. To
not add postal codes or find an average postal code, for example. The Owner ID field
change the default symbols
for currency, change the contains numbers, but you will not use these numbers in arithmetic operations, so its
settings in Windows. data type should be Short Text.
Similarly, in the Appointments table, the data type for the Account Manager
Appointment ID, Patient ID and Treatment Number fields should all be Short Text.
The Appointment Date and Appointment Time fields should have a data type of Date
& Time. In the Treatment Cost table, the Cost contains monetary amounts, so its data
type should be Currency.
For fields whose data type is Short Text, you can change the field size, that is, the
maximum number of characters that can be entered in the field. If you set the field size
for the State field to 2, for example, Access will not allow the user to enter more than
two characters in the field. On the other hand, fields whose data type is Number often
require you to change the field size, which is the storage space assigned to the field by
Access. Table 1–2 shows the possible field sizes for Number fields.
Copyright 2020 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
Databases and Database Objects: An Introduction Access Module 1 AC 1-9
Access Module 1
Table 1–2 Field Sizes for Number Fields
Field Size Description
Byte Integer value in the range of 0 to 255
Integer Integer value in the range of -32,768 to 32,767
Long Integer Integer value in the range of -2,147,483,648 to 2,147,483,647
Single Numeric values with decimal places to seven significant digits—requires 4 bytes
of storage
Double Numeric values with decimal places to more accuracy than Single—requires 8
bytes of storage
Replication ID Special identifier required for replication
Decimal Numeric values with decimal places to more accuracy than Single or Double—
requires 12 bytes of storage
What is the appropriate size for the Owner Postal Code field?
CONSIDER THIS
A Short Text field created will allocate 255 spaces for data. However, a postal code normally would only take up 9 spaces. It is
more accurate to change the Short Text field size to limit to 9 spaces to account for the postal code plus 4 (5 numbers, a dash,
followed by 4 numbers).
You would use a caption whenever you wanted something other than the field name displayed. One common example is when
the field name is relatively long and the data in the field is relatively short. In the Owners table, the name of the first field is
Owner ID, but the field contains data that is only at most five characters long. You will change the caption for this field to O_ID,
which is much shorter than Owner ID, yet still describes the field. Doing so will enable you to greatly reduce the width of the
column.
Copyright 2020 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
Another random document with
no related content on Scribd:
on merkinnyt: »Entwurf einer reinen Philosophie», mutta
valitettavasti tuo vihko on jäänyt — aivan tyhjäksi. Irtonaisista
paperipalasista, joihin hän on merkinnyt ajatuksen juoksuaan ja
joista — niin paljon kuin niitä on säilynytkin — suuri osa lienee
joutunut hukkaan, ei saa mitään kokonaiskäsitystä, ne ovat
aforismeja ja niiden abstraktisuudesta jää lukijalle vahva
»qvasifilosofian»[26] sivumaku. On kuitenkin myönnettävä, että
näiden ajatussirpaleiden pohjana on persoonallisia elämyksiä.
Puhtaus tuntuu olevan hänen filosofiansa ydinkäsitteitä; se ja koko
tuon filosofeeraasimisen abstraktinen luonne löytänevät selvityksen
muualtakin kuin kirjaviisaudesta: tuntuu luonnolliselta, että
aristokraattinen äiti oli lapsuudesta asti varjellut poikaansa
joutumasta liian läheiseen kosketukseen pahan maailman kanssa.
Mutta vielä useammin kuin sana puhtaus esiintyy hänen
kirjoituksissaan sana vapaus. Avioliiton alkuvuosina se sana on
ytimenä kaikissa niissä purkauksissa, joissa hän valittaa
käytännöllisen elämän asettamia kahleita ja huokaa rahallisen
raadannan alla: »Minä en anna pakottaa itseäni, tahdon päästä
käytännöllisen elämän pakkovallasta, tähden elää mielipiteilleni, tuo
käytännöllinen elämä» (Praxis) iljettää minua puolinaisuudellaan»,
hän tavan takaa ja useissa eri muodoissa toistaa.
»30/VIII 95.
Alexander.»
*****
*****
*****
*****
Ida Aalbergin taiteilijaluonne ei ollut älyllinen. Vapaaherra Uexküll-
Gyllenbandin intellektualismilla jota tarjottiin ylen runsaina
annoksina, oli omat vaaransa Ida Aalbergille. Neuvoja oli liian paljon,
jotta Ida Aalberg olisi voinut niitä kaikkia edullisesti hyödykseen
käyttää. Ne voivat muodostua raskaaksi painolastiksi, joka voi
hävittää hänen taiteensa suurimman vaikutusvoiman: välittömyyden
tunneilmauksissa. Hän tarvitsi Bergbomilta vain pienen vihjauksen
tai lyhykäisen lauseen ohjauksekseen, heti sanotaan hänen
joutuneen inspiratsionin valtaan, joka voimallaan ja hehkullaan ylitti
kaikki toivomukset, ja pystyneen tällöin luomaan sellaista, mitä
ohjaaja omassa mielikuvituksessaan ei ollut nähnyt, mutta johon hän
täysin yhtyi. Tuommoista hetkelliseen inspiratsioniin perustuvaa
taidetta voidaan syyttää pintapuolisuudesta, mutta älyn ylivalta vie
tehon taiteelta ja tekee esityksen kuolleeksi.