Operate Database Application - Lecture Notes
Operate Database Application - Lecture Notes
October, 2019
Module Title: Operating Database Application
TTLM Code: ICT ITS2TTLM 1019v1
This module includes the following Learning Guides
Version:01
ICT ITS1 Page No.2
Copyright: Ethiopia Federal TVET Agency
Instruction Sheet LG10: Create Database Objects
This learning guide was developed to provide you the necessary information regarding the
following
Version:01
ICT ITS1 Page No.3
Copyright: Ethiopia Federal TVET Agency
8. Read the information written in the “Information Sheet 2”. Try to understand what are
being discussed. Ask you teacher for assistance if you have hard time understanding
them.
9. Accomplish the “Self-check 2” in page 10.
10. Ask from your teacher the key to correction (key answers) or you can request your teacher
to correct your work. (You are to get the key answer only after you finished answering the
Self-check 2).
11. Read the information written in the “Information Sheets 3 . Try to understand what are
being discussed. Ask you teacher for assistance if you have hard time understanding
them.
Accomplish the “Self-check 3” in page 12.
12. Ask from your teacher the key to correction (key answers) or you can request your teacher
to correct your work. (You are to get the key answer only after you finished answering the
Self-check 3).
13. Read the information written in the “Information Sheets 4 . Try to understand what are
being discussed. Ask you teacher for assistance if you have hard time understanding
them.
14. Accomplish the “Self-check 4” in page 15.
15. Ask from your teacher the key to correction (key answers) or you can request your teacher
to correct your work. (You are to get the key answer only after you finished answering the
Self-check 4).
16. Read the information written in the “Information Sheets 5 . Try to understand what are
being discussed. Ask you teacher for assistance if you have hard time understanding
them.
17. . Accomplish the “Self-check 5” in page 17.
18. Read the information written in the “Information Sheets 6 . Try to understand what are
being discussed. Ask you teacher for assistance if you have hard time understanding
them.
19. Accomplish the “Self-check 6” in page 26.
20. Read the information written in the “Information Sheets 7 . Try to understand what are
being discussed. Ask you teacher for assistance if you have hard time understanding
them.
21. Accomplish the “Self-check 7” in page 29.
Read the information written in the “Information Sheets 8 . Try to understand what are being discussed. Ask
you teacher for assistance if you have hard time understanding
Version:01
ICT ITS1 Page No.5
Copyright: Ethiopia Federal TVET Agency
Extensibility: As we know that everyday new business requirements come up and every
day there is a need to change or enhance information system to capture new requirements.
So information design should be extensible so that it can adopt new requirements without
much efforts or without major breaking changes.
Data Integrity: Now at this point we understand that information is very much important
for any organization. Based on the historic information, every organization makes different
strategies, decisions for growth. One small mistake in data can lead to major issues with any
organization’s key decision and hence a big risk for growth.
Entity Integrity: Involves the structure (primary key and its attributes) of the entity. If
the primary key is unique and all attributes are scalar and fully dependent on the primary key,
then the integrity of the entity is good. In the physical schema, the table’s primary key
enforces entity integrity.
Domain Integrity: It defines that data should be of correct type and we should handle
optional data in correct way. We should apply Nullability to those attributes which are optional
for organization. We can define proper data types for different attributes based on
organization’s requirement so that correct format data should present in system.
Referential Integrity: This defines if any entity is dependent on another one then parent
entity should be there in the system and should be uniquely identifiable. We can do this by
implementing foreign keys.
User defined integrity: There are few business rules which we cannot validate just by
primary keys, foreign keys etc. There has to be some mechanism so that we can validate
complex rules for integrity. We can implement these rules in following ways:
Security: For any organizational asset, the level of security must be secured depending
on its value and sensitivity. Sometime organizations has suffered a lot because of data leaks
which results in loss of faith and tends to business risk. So security is one of the most
important aspect of good database design.
Version:01
ICT ITS1 Page No.6
Copyright: Ethiopia Federal TVET Agency
Self-Check -1 Written Test
Directions: Answer all the questions listed below. Use the Answer sheet provided in the next page:
Version:01
ICT ITS1 Page No.7
Copyright: Ethiopia Federal TVET Agency
1. Which of the following is the basic principle of a database ?(2)
A. Data Integrity
B. Extensibility
C. Usability
D. All
2. -------------I Involves the structure (primary key and its attributes) of the entity (2)
A. Data integrity
B. Entity integrity
C. A&B
D. None
3. Which integrity defines any entity is dependent on another (2)
A. Data integrity
B. Referential
C. Entity
D. All of the above
You can ask you teacher for the copy of the correct answers.
Answer Sheet
Score = ___________
Rating: ____________
Introduction to Database
A database can best be described as a way of storing large amounts of information.
The data can be retrieved and we can even ask questions of the data and get
answers.
Version:01
ICT ITS1 Page No.8
Copyright: Ethiopia Federal TVET Agency
For example: You may want to know how many Students enrolled in every
occupational level.
MS Access (MS Office Access 2007) is a database management tool that enables
one to store relevant data.
This also has the capabilities to retrieve, sort, summarize report and result
immediately and effectively.
It can combine data from various files (tables) through creating relationships and
can make data entry more efficient and accurate through the use of forms.
Microsoft Access (MS Access) enables to manage all important information from
a single database file.
Within the file, can use the different objects/items:
The design process
Determine the purpose of your database. This helps prepare you for the
remaining steps.
Find and organize the information required. Gather all of the types of information
you might want to record in the database, such as product name and order number.
Divide the information into tables. Divide your information items into major entities
or subjects, such as Products or Orders. Each subject then becomes a table.
Turn information items into columns . Decide what information you want to store in
each table. Each item becomes a field, and is displayed as a column in the table.
For example, an Employees table might include fields such as Last Name and Hire
Date.
Specify primary keys. Choose each table’s primary key. The primary key is a
column that is used to uniquely identify each row. An example might be Product
ID or Order ID.
Set up the table relationships. Look at each table and decide how the data in one
table is related to the data in other tables. Add fields to tables or create new tables
to clarify the relationships, as necessary.
Refine your design. Analyze your design for errors. Create the tables and add a
few records of sample data. See if you can get the results you want from your
tables. Make adjustments to the design, as needed.
Version:01
ICT ITS1 Page No.9
Copyright: Ethiopia Federal TVET Agency
Apply the normalization rules. Apply the data normalization rules to see if your
tables are structured correctly. Make adjustments to the tables, as needed.
Directions: Answer all the questions listed below. Use the Answer sheet provided in the next page:
A. Application
B. Database
C. Excel
D. All
Version:01
ICT ITS1 Page No.10
Copyright: Ethiopia Federal TVET Agency
2.-------- is a database management tool that enables one to store relevant data.( 2)
A. Data integrity
B. MS-Access
C. A&B
D. None
3. ------ is a column that is used to uniquely identify each row (2)
A. Forigen key
B. Primary key
C. A&B
D. All of the above
You can ask you teacher for the copy of the correct answers.
Answer Sheet
Score = ___________
Rating: ____________
Queries –Queries used to view, change, and analyze data in different ways. You can also
use them as a source of records for forms, reports.
Forms - A form is a type of a database object that is primarily used to enter or display data
in a database. You can also use a form as a switchboard that opens other forms and reports
in the database, or as a custom dialog box that accepts user input and carries out an action
based on the input.
Reports - A report is an effective way to present your data in a printed format. Because you
have control over the size and appearance of everything on a report,
Directions: Answer all the questions listed below. Use the Answer sheet provided in the next page
A. Queries
B. MS-Access
C. A&B
Version:01
ICT ITS1 Page No.12
Copyright: Ethiopia Federal TVET Agency
3. ----- is a type of a database object that is primarily used to enter or display data
A. Form
B. Queries
C. Table
You can ask you teacher for the copy of the correct answers.
Answer Sheet
Score = ___________
Rating: ____________
Data Base Tables: - Recently, we define it as a file but technically, it was defined as a
container or a worksheet-like container where the collection of data has been stored.
Before we proceed to creating your first table, we need to know first the basic
components of a table:
Meta Data – Database Structure
Field – Column – Data
Fieldname
Record - Row - Information
Text: allows for the storage of any kind of data, characters, digits and special
characters.
Version:01
ICT ITS1 Page No.13
Copyright: Ethiopia Federal TVET Agency
Memo: is used for texts of more than 255 characters such as comments or
explanations.
Number: for numerical data used in mathematical calculations.
Date/Time: for the introduction of date and time from the year 100 to 9999.
Currency: For monetary/economic values and numerical data used in mathematical
calculations in which the data involved contains between one and four decimals.
Autonumber: a unique sequential number (increasing one by one), or a number that
Access assigns every time it adds a new record to a table.
Yes/No:Yes and No values, and fields that contain one of two values (Yes/No,
True/False or Activated/Deactivated).
OLE Object: an object such as a Microsoft Excel spreadsheet, a Microsoft Word
document, graphics, images, sounds, or other binaries.
Used to embed or link to documents from other programs like Excel and Word.
Hyperlink: text or a combination of text and numbers stored as text and used as a
hyperlink address.
Attachment: Used to store files in an Access database.
The attachment data type lets you store one or more files per record.
Lookup wizard…: A lookup wizard field lets the user choose from a predefined set of
options, like a "male" or "female" selection or a "country" selection.
Designing a table involves:
Entering unique names of the columns of the table in the “field name” column of
thedesign view. N
Names of fields and objects in Microsoft Access can be up to 64characters long.
They can include any combination of letters, numbers, spaces, andspecial characters
except a period (.), an exclamation point (!), an accent grave (`), andbrackets ([ ]). They
also can't begin with leading spaces.
Normalization
Normalization is the process of efficiently organizing data in a database.
There are two goals of the normalization process:
1. Eliminating redundant data (for example, storing the same data in more than
one table) and
2. Ensuring data dependencies make sense (only storing related data in a table).
Version:01
ICT ITS1 Page No.14
Copyright: Ethiopia Federal TVET Agency
Both of these are valuable goals as they reduce the amount of space a database
consumes and ensure that data is logically stored.
Directions: Answer all the questions listed below. Use the Answer sheet provided in the next page
A. Mete data
B. Field
C. Records
D. All of the above
3.--- --allows for the storage of any kind of data, characters, digits and special
characters.(2)
A. Memos
Version:01
ICT ITS1 Page No.15
Copyright: Ethiopia Federal TVET Agency
B. Texts
C. Number
D. All of the above
You can ask you teacher for the copy of the correct answers.
Answer Sheet
Score = ___________
Rating: ____________
Every template that is included with Access is a complete tracking application that contains
predefined tables, forms, reports, queries, macros, and relationships. These templates are
designed to be immediately useful out-of-the-box, so that you can create a new database
that is based on a template and get up and running quickly. However, there might be times
when you want to modify your new database — for example, to add or rename a field, or
change a report. You can easily add a field to a table in Datasheet view. However, you can
also add a field to a table in Design view. To learn more about adding a field to a table in
Datasheet view, see the article Add or delete a column in a datasheet. When you add a new
field to a table, the field is not automatically added to your existing forms and reports. You
must manually add the field to those forms and reports in order for it to appear in them.
If possible, you should avoid deleting a field from a database that was generated from
one of the supplied templates — it is likely that the field is employed in other database
objects, such as forms and reports. Thus, deleting the field will create consequences when
you attempt to use the other database objects that employ the field — the database objects
will not work as expected. You will have to remove any references to the field from all of the
objects that employ it in order for those other objects to work correctly.
When you decide that you must delete a field from a database that was generated
from a template, you can do so in either Datasheet view or Design view. Remember that if
other database objects reference the deleted field, you must modify those other objects to
remove the reference. For example, if a report includes a control that is bound to the deleted
field and you run the report, an error message appears, because Access cannot find the data
for the field.
Version:01
ICT ITS1 Page No.16
Copyright: Ethiopia Federal TVET Agency
Before you can delete a field, you must ensure that it doesn't participate in any table
relationships. If you try to delete a field for which relationships exist, Access warns you that
you must first delete the relationships.
Directions: Answer all the questions listed below. Use the Answer sheet provided in the next page:
A. Form
B. Table
C. Query
D. All of the above
2 Before you can delete a field, you must ensure that it doesn't participate in any
Table relationships (2)
A. True
B. False
You can ask you teacher for the copy of the correct answers.
Version:01
ICT ITS1 Page No.17
Copyright: Ethiopia Federal TVET Agency
Answer Sheet
Score = ___________
Rating: ____________
Table Relationship
Newcomers to the world of databases often have a hard time seeing the
differences between a database and a spreadsheet.
They see tables of data and recognize that databases allow you to organize and
query data in new ways, but fail to grasp the significance of the relationship that
gives relational database technology & its name.
Relationships allow you to describe the connections between different database
tables in powerful ways.
Once you’ve described the relationships between your tables, you can later
leverage that information to perform powerful cross-table queries, known as joins.
A relationship is a logical connection between two tables.
Keys are fields that are part of a table relationship. There are two kinds of keys
Primary key
A table can have only one primary key.
A primary key is used to identify each record that you store in the table.
It will not allow a duplication of the Primary Key thus make it unique.
Primary Key is the unique identification of one record.There is a uniquely
identification number, such as
ID number
A serial number
A code that serves as a primary key
Version:01
ICT ITS1 Page No.18
Copyright: Ethiopia Federal TVET Agency
Foreign key
A table can also have one or more foreign key.
A foreign key contains values that correspondent to values in the primary key of
another table
You use table relationship to combine data from related table
Customer Employee
c-id e- id
c-name e- name
c-age e- age
c-sex e- sex
c-phone e- address
c-address e- salary
c-id
Primary key
Foreign key
In the diagram, the elements inside rectangles are called entities while the items inside
diamonds denote the relationships between entities.
This ER diagram tutorial for beginners covers most things related to ER diagram, for
quick navigation use the links below.
ER Diagram Usage
ER Diagrams Symbols and Notations
How to Draw ER Diagrams
ER Diagram Templates
Benefits of ER Diagrams
ER Diagrams Usage
ER diagrams are most often associated with complex databases that are used in
software engineering and IT networks.
In particular, ER diagrams are frequently used during the design stage of a development
process in order to identify different system elements and their relationships with each
other.
For example, inventory software used in a retail shop will have a database that monitors
elements such as purchases, item, item type, item source and item price. Rendering this
information through an ER diagram would be something like this:
Version:01
ICT ITS1 Page No.20
Copyright: Ethiopia Federal TVET Agency
ER diagram example with entity having attributes
In the diagram, the information inside the oval shapes is attributes of a particular entity.
Elements in ER diagrams
1. Entity 3. Relationship
2. Attribute
There are more elements which are based on the main elements.
Derived attribute
Cardinality and ordinalily are two other notations used in ER diagrams to further
define relationships.
Entity
An entity can be a person, place, event, or object that is relevant to a given system.
For example, a school system may include students, teachers, major courses, subjects,
fees, and other items.
Entities are represented in ER diagrams by a rectangle and named using singular nouns.
Version:01
ICT ITS1 Page No.21
Copyright: Ethiopia Federal TVET Agency
Ethiopian TVET System
Training, Teaching and Learning Material
Weak Entity
In more technical terms it can defined as an entity that cannot be identified by its own
attributes.
It uses a foreign key combined with its attributed to form the primary key.
An entity like order item is a good example for this. The order item will be meaningless
without an order so it depends on the existence of order.
For example, the attribute Inventory Item Name is an attribute of the entity Inventory Item.
An entity can have as many attributes as necessary.
For example, the attribute “customer address” can have the attributes number, street, city,
and state.
Note that some top level ER diagrams do not show attributes for the sake of simplicity.
Attributes in ER diagrams, note that an attribute can have its own attributes
(compositeattribute)
Multivalued Attribute
It is important to note that this is different to an attribute having its own attributes. For
example a teacher entity can have multiple subject values.
Derived Attribute
For example for a circle the area can be derived from the radius.
Relationship
For example, the entity “carpenter” may be related to the entity “table” by the relationship
“builds” or “makes”.
Relationships are represented by diamond shapes and are labeled using verbs.
Recursive Relationship
If the same entity participates more than once in a relationship it is known as a recursive
relationship.
These two further defines relationships between entities by placing the relationship in the
context of numbers.
In an email system, for example, one account can have multiple contacts.
Chen, UML, Crow’s foot, Bachman are some of the popular notations. Creately supports
Chen, UML and Crow’s foot notations.The following example uses UML to show
cardinality.
Below are some ER diagram templates so you can get started quickly.
Clicking on the image and in the new page that opens click the “Use as Template” button.
ER diagrams constitute a very useful framework for creating and manipulating databases.
First, ER diagrams are easy to understand and do not require a person to undergo
extensive training to be able to work with it efficiently and accurately.
This means that designers can use ER diagrams to easily communicate with developers,
customers, and end users, regardless of their IT proficiency.
Second, ER diagrams are readily translatable into relational tables which can be used to
quickly build databases.
In addition, ER diagrams can directly be used by database developers as the blueprint for
implementing data in specific software applications.
Lastly, ER diagrams may be applied in other contexts such as describing the different
relationships and operations within an organization.
Directions: Answer all the questions listed below. Use the Answer sheet provided in the next page:
You can ask you teacher for the copy of the correct answers.
Answer Sheet
Score = ___________
Rating: ____________
There are several ways to update data in an Access database. You add a record to your
database when you have a new item to track, such as a new contact to the Contacts table.
When you add a new record, Access appends the record to the end of the table. You also
change fields to stay up-to-date, such as a new address or last name. To maintain data integrity,
the fields in an Access database are set to accept a specific type of data, such as text or
numbers. If you don't enter the correct data type, Access displays an error message. Finally,
you can delete a record when it is no longer relevant and to save space.
You use a form to manually update data. Data entry forms can provide an easier, faster,
and more accurate way to enter data. Forms can contain any number of controls such as lists,
text boxes, and buttons. In turn, each of the controls on the form either reads data from or writes
data to an underlying table field.
Datasheets are grids of data that look like Excel worksheets. You can change data by working
directly in Datasheet view. If you are familiar with Excel, datasheets should be relatively easy
to understand. You can change data in tables, query result sets, and forms that display
datasheets. Typically, you use datasheets when you need to see many records at once.
The following table shows some of the record selector symbols you might see when updating
data and what they mean.
Directions: Answer all the questions listed below. Use the Answer sheet provided in the next
page:
1. Describe the reason why we add, modify and delete data records (5)
2. Describe about data entry forms (5)
You can ask you teacher for the copy of the correct answers .
Answer Sheet
Score = ___________
Rating: ____________
Directions: Answer all the questions listed below. Use the Answer sheet provided in the next page:
A. True
B. False
4. Saving your work in Access is a little different from saving in most Office
apps.(3)
A. False
B. True
You can ask you teacher for the copy of the correct answers.
Score = ___________
Answer Sheet
Rating: ____________
In the Blank Database pane, type a file name in the File Name box. If you do not
supply a file name extension, Access adds it for you. To change the location of the
file from the default, click Browse for a location to put your database (next to
the File Name box), browse to the new location, and then click OK.
Click Create.
Access creates the database with an empty table named Table1, and then opens
Table1 in Datasheet view. The cursor is placed in the first empty cell in the Add New
Field column.
Begin typing to add data, or you can paste data from another source, as described in
the section Copy data from another source into an Access table.
In the File Name box, type a file name for the new database.
To browse to a different location to save the database, click the folder icon.
Click Create.
In the Open dialog box, select the database that you want to open, and then
click Open.
In the Open dialog box, select and open the database in which you wish to create a
table.
On the Create tab, in the Tables group, click Table Templates and then select one
of the available templates from the list.
In the Open dialog box, select and open the database in which you wish to create
a new table.
Follow the instructions in the dialog boxes that appear at each step.
In the Open dialog box, select the database in which you want to create the new
table, and then click Open.
In the Create New List dialog box, type the URL for the SharePoint site where
you want to create the list.
Enter a name for the new list and its description in the Specify a name for the
new list and Description boxes.
To open the linked table after it is created, select the Open the list when
finished check box (selected by default).
Click Custom.
In the Create New List dialog box, type the URL for the SharePoint site where
you want to create the list.
Enter a name for the new list and its description in the Specify a name for the
new list and Description boxes.
In the Get External Data dialog box, type the URL for the SharePoint site that
contains the data that you want to import.
Click Import the source data into a new table in the current database, and then
click Next.
Select the check box next to each SharePoint list that you want to import.
On the Home tab, in the Views group, click View, and then click Design View.
In the table design grid, select the field or fields that you want to use as the
primary key.
A key indicator appears to the left of the field or fields that you specify as the
primary key.
Steps to Remove the primary key
Select the table whose primary key you want to remove.
On the Home tab, in the Views group, click View, and then click Design View.
Click the row selector for the current primary key. If the primary key consists of
multiple fields, hold down CTRL, and then click the row selector for each field.
On the Home tab, in the Views group, click View, and then click Design View.
On the Design tab, in the Show/Hide group, click Property Sheet.The table
property sheet is shown.
Click the box to the left of the property that you want to set, and then enter a
setting for the property.
On the Datasheet tab, in the Fields & Columns group, click New Field.
Select one or more fields in the Field Templates pane, and then drag them to
the table where you want to insert the new column.
In the Navigation Pane, right-click the table that you want to open.
In the Data Type list, in the Data Type & Formatting group, select the data type
that you want.
On the Datasheet tab, in the Data Type & Formatting group, select the properties
that you want.
In the Data Type column, choose a data type from the list.
Find links to more information about data types and field properties in the See
Also section.
In the Navigation Pane, double-click the table in which you want to rename the
field.
o The table is opened in Datasheet view.
Right-click the column heading for the field that you want to rename, and then
click Rename Field on the shortcut menu.
Type the new name for the field and then press ENTER.
In the Navigation Pane, right-click the table in which you want to rename the
field, and then click Design View on the shortcut menu..
Click the cell in the Field Name column for the field that you want to rename.
Edit the text to rename the field.
To save your changes, click Save on the Quick Access Toolbar.
Rename a table
In the Navigation Pane, right-click the table that you want to rename ,and
then click Rename on the shortcut menu.
Type the new name and then press ENTER.
To save your changes, click Save on the Quick Access Toolbar.
In the Navigation Pane, right-click the table in which you want to change the
caption, and then click Design View on the shortcut menu.
Click the cell in the Field Name column for the field whose Caption property
you want to set.
In the bottom section, under Field Properties, on the General tab, click
Caption.
Type a new caption for the field.
After you have created a table for each subject in your database, you must provide Office
Access 2007 with the means by which to bring that information back together again when
needed. You do this by placing common fields in tables that are related, and by defining table
relationships between your tables. You can then create queries, forms, and reports that display
4. If you have not yet defined any relationships, the Show Table dialog box automatically appears.
If it does not appear, on the Design tab, in the Relationships group, click Show Table.
The Show Table dialog box displays all of the tables and queries in the database. To see only
tables, click Tables. To see only queries, click Queries. To see both, click Both.
5. Select one or more tables or queries and then click Add. After you have finished adding tables
and queries to the Relationships document tab, click Close.
6. Drag a field (typically the primary key) from one table to the common field (the foreign key) in
the other table. To drag multiple fields, press the CTRL key, click each field, and then drag
them.
7. Verify that the field names shown are the common fields for the relationship. If a field name is
incorrect, click on the field name and select the appropriate field from the list.
To enforce referential integrity for this relationship, select the Enforce Referential
Integrity check box. For more information about referential integrity, see the section Enforce
Referential Integrity
8. Click Create.
Access draws a relationship line between the two tables. If you selected the Enforce Referential
Integrity check box, the line appears thicker at each end. In addition, again only if you selected
the Enforce Referential Integrity check box, the number 1 appears over the thick portion on one
side of the relationship line, and the infinity symbol (∞) appears over the thick portion on the on
the other side of the line, as shown in the following figure.
NOTES
In Office Access 2007, you can add a field to an existing table that is open in Datasheet view
by dragging it from the Field List pane. The Field List pane shows fields available in related
tables and also fields available in other tables in the database. When you drag a field from an
"other" (unrelated) table and then complete the Lookup Wizard, a new one-to-many relationship
is automatically created between the table in the Field List pane and the table to which you
dragged the field. This relationship, created by Access, does not enforce referential integrity by
default. To enforce referential integrity, you must edit the relationship. See the section Edit a
table relationship for more information.
On the Datasheet tab, in the Fields & Columns group, click Add Existing Fields.
Steps to Add a field and create a relationship from the Field List pane
1. On the Datasheet tab, in the Fields & Columns group, click Add Existing Fields.
2. Under Fields available in other tables, click the plus sign (+) next to a table name to display the
list of fields in that table.
3. Drag the field that you want from the Field List pane to the table that is open in Datasheet view.
4. When the insertion line appears, drop the field into position.
When you drag a field from an "other" (unrelated) table and then complete the Lookup Wizard,
a new one-to-many relationship is automatically created between the table in the Field List and
the table to which you dragged the field. This relationship, created by Access, does not enforce
referential integrity by default. To enforce referential integrity, you must edit the relationship.
See the section Edit a table relationship for more information.Steps to Edit a table relationship
You change a table relationship by selecting it in the Relationships document tab and then
editing it.
1. Carefully position the cursor so that it points to the relationship line, and then click the line to
select it.
If you have not yet defined any relationships and this is the first time you are opening the
Relationships document tab, the Show Table dialog box appears. If the dialog box appears,
click Close.
All tables with relationships are displayed, showing relationship lines. Note that hidden tables
(tables for which theHidden check box in the table's Properties dialog box is selected) and their
relationships will not be shown unless Show Hidden Objects is selected in the Navigation
Options dialog box.
For more information about the Show Hidden Objects option, see the article Guide to the
Navigation Pane.
5. Click the relationship line for the relationship that you want to change. The relationship line
appears thicker when it is selected.
6. Double-click the relationship line. -or-
The Edit Relationships dialog box allows you to change a table relationship. Specifically, you
can change the tables or queries on either side of the relationship, or the fields on either side.
You can also set the join type, or enforce referential integrity and choose a cascade option. For
more information about the join type and how to set it, see the section Set the join type. For
more information about how to enforce referential integrity and choose a cascade option, see
the section Enforce referential integrity.
You should think about the result you will most often want from a query that joins the tables in
this relationship, and then set the join type accordingly.
The following table (using the Customers and Orders tables) shows the three choices that are
displayed in the Join Properties dialog box, the type of join they use, and whether all rows or
matching rows are returned for each table.
When you choose option 2 or option 3, an arrow is shown on the relationship line. This arrow
points to the side of the relationship that shows only matching rows.
If you have not yet defined any relationships and this is the first time you are opening the
Relationships document tab, the Show Table dialog box appears. If the dialog box appears,
click Close.
All tables that have relationships are displayed, showing relationship lines. Note that hidden
tables (tables for which the Hidden check box in the table's Properties dialog box is selected)
and their relationships will not be shown unless Show Hidden Objects is selected in
the Navigation Options dialog box.
5. Click the relationship line for the relationship that you want to change. The relationship line
appears thicker when it is selected.
6. Double-click the relationship line. -or-
9. Make any additional changes to the relationship, and then click OK.
If you have not yet defined any relationships and this is the first time you are opening the
Relationships document tab, the Show Table dialog box appears. If the dialog box appears,
click Close.
All tables with relationships are displayed, showing relationship lines. Note that hidden tables
(tables for which the Hidden check box in the table's Properties dialog box is selected) and their
relationships will not be shown unless Show Hidden Objects is selected in the Navigation
Options dialog box.
For more information about the Show Hidden Objects option, see the article Guide to the
Navigation Pane.
5. Click the relationship line for the relationship that you want to change. The relationship line
appears thicker when it is selected.
6. Double-click the relationship line. -or-
You cannot enter a value in the foreign key field of a related table if that value doesn't exist in
the primary key field of the primary table — doing so creates orphan records.
You cannot delete a record from a primary table if matching records exist in a related table. For
example, you cannot delete an employee record from the Employees table if there are orders
assigned to that employee in the Orders table. You can, however, choose to delete a primary
record and all related records in one operation by selecting the Cascade Delete Related
Records check box.
You cannot change a primary key value in the primary table if doing so would create orphan
records. For example, you cannot change an order number in the Orders table if there are line
items assigned to that order in the Order Details table. You can, however, choose to update a
primary record and all related records in one operation by selecting the Cascade Update Related
Fields check box.
The common field from the primary table must be a primary key or have a unique index.
The common fields must have the same data type. The one exception is that an AutoNumber
field can be related to a Number field that has a FieldSize property setting of Long Integer.
Both tables exist in the same Access database. Referential integrity cannot be enforced on
linked tables. However, if the source tables are in Access format, you can open the database in
which they are stored and enable referential integrity in that database.
If you have not yet defined any relationships and this is the first time you are opening the
Relationships document tab, the Show Table dialog box appears. If the dialog box appears,
click Close.
To remove a table relationship, you must delete the relationship line in the
Relationships document tab. Carefully position the cursor so that it points to the
relationship line, and then click the line. The relationship line appears thicker when it
is selected. With the relationship line selected, press DELETE. Note that when you
remove a relationship, you also remove referential integrity support for that
To Delete a record
The deletion process is fairly simple, except when the record is related to other data and resides
on the "one" side of a one-to-many relationship. To maintain data integrity, by default, Access
does not let you to delete related data. For more information, see Guide to table relationships.
Open the table in Datasheet View or form in For
m View.
Select the record or records that you want to delete.
Press DELETE, select Home > Records > Delete, or press Ctrl+Minus Sign
Task 1
o Show all the necessary steps & ways to open new MS Access 2007 Database. (5
Points)
o Show all the necessary steps to open Existing MS Access 2007 Database. (5 Points)
Task 2
Create a new table in a new database
Create a new table in an existing database
Create a new table by using a table template
Create a new table by importing/linking to external data
o Set a table's primary key
o Set or change the primary key
o Remove the primary key
Set a table's properties
Table field
o Add a field to a table
o Add a field by entering data
o Add a field by using a field template
o Add a field from an existing table
o Set field properties
Task 3
Task 5
Open an existing table & perform the following
Add abebe, taye& kebede in the field first name
Rename the name aster by astuka
Change the Salary 2500 by 4300 in the salary field
Task 6
Save your file by giving a file name tvetTraining
yes
This learning guide is developed to provide you the necessary information regarding the following
content coverage and topics –
38. Ask from your teacher the key to correction (key answers) or you can request your teacher to c orrect
your work. (You are to get the key answer only after you finished answering the Self-check 3).
39. Read the “Operation Sheet 1”in page 10. and try to understand the procedures discussed.
40. If you earned a satisfactory evaluation proceed to “Operation Sheet 2” in page 11. However, if your
rating is unsatisfactory, see your teacher for further instructions or go back to Learning Activity #1.
41. Read the “Operation Sheet 2” and try to understand the procedures discussed.
42. If you earned a satisfactory evaluation proceed to “Operation Sheet 3” in page 12.
However, if your rating is unsatisfactory, see your teacher for further instructions or go
back to Learning Activity #1.
Layout view is the most intuitive view to use for report modification, and can be used for nearly all the
changes you would want to make to a report in Access. In Layout view, the report is actually running, so
you can see your data much as it will appear when printed. However, you can also make changes to the
report design in this view. Because you can see the data while you are modifying the report, it's a very
useful view for setting column widths, add grouping levels, or performing almost any other task that
affects the appearance and readability of the report.
References [edit]
2. http/Doc.microsoft.com
Directions: Answer all the questions listed below. Use the Answer sheet provided in the next page:
1. Which View is the most intuitive view to use for report modification (2)
E. Design view
F. Lay out view
G. A&B
H. None
2. you can make changes to the report design in this view (2)
E. True
F. False
3. Layout view is useful for (2)
E. setting column widths
F. add grouping levels
G. performing almost any other task
H. All of the above
You can ask you teacher for the copy of the correct answers.
Answer Sheet
Score = ___________
Rating: ____________
Introduction
Toolbar Sometimes referred to as a bar or standardtoolbar, the toolbar is a row of boxes, often
at the top of an application window, that control various functions of the software. The boxes
often contain images that correspond with the function they control, as demonstrated in the
image below.
A toolbar often provides quick access to functions that are commonly performed in the program.
For example, a formatting toolbar in a Microsoft Access gives you access to things like making
text bold or changing its alignment, along with other common buttons
Common computer software toolbars
Commands bar - A bar that shows available commands in a program.
Formatting toolbar - Toolbar that shows text formatting options.
Formula bar - Bar in a spreadsheet program that allows you to edit a formula.
Menu bar - A bar at the top of the screen that gives access to all of the menus.
Navigation bar - Gives access to all navigation features in a browser.
Places bar - A pane that shows common places to access files.
Scroll bar - A bar on the bottom or side of the window to scroll through a page.
Split bar - A bar that divides the window into multiple sections.
Status bar - One of the few bars at the bottom of the window that shows the status.
Title bar - A bar at the very top of a window that describes the program or window.
Directions: Answer all the questions listed below. Use the Answer sheet provided in the next page:
A. Toolbar
B. Format
C. Icon
2. - A bar that shows available commands in a program.(2)
A. Commands bar
B. Menu bar
C. Title Bar
3. Toolbar that shows text formatting options.(2)
A. Formatting toolbar
B. Command bar
C. Status bar
Answer Sheet
Score = ___________
TTLM Development Manual Date: 10 2019 Page 61 of 169
Rating: ____________
3rd Revision Author: 1 FTVET AGENCY
Ethiopian TVET SystemFTVET Agency
Training, Teaching and Learning Materials Development
A font is a graphical representation of text that may include a different typeface, point size, weight, color,
or design. The image shows some examples of different computer fonts. Software programs like
Microsoft Word, Microsoft Excel, and Ms-access allow users to change the font used when typing text
in the document or spreadsheet, as do web designers.
Formatting Fonts Sometimes users want to specify or change the appearance of a group of words or
characters, or even of a single word or character, and they are not familiar enough with all of Word's
font formatting options to know how to achieve the effect that they are seeking. Although most users are
probably familiar with some different font families and sizes and with the italic and bold typefaces, many
users do not know how to determine and apply the settings that are needed to add a colored background
to their text or to type
References [edit]
3. http/Doc.microsoft.com
Self-Check -3 Written Test
Directions: Answer all the questions listed below. Use the Answer sheet provided in the next page:
You can ask you teacher for the copy of the correct answers.
Answer Sheet
Score = ___________
Rating: ____________
Operation Sheet 1
2 Adjusting page layout and settings
Steps to Change page setup
Use the Page Size and Page Layout groups on the Page Setup tab to change size,
Operation Sheet 2
3 Adjusting page layout and settings
Steps to create a new toolbar
In the Toolbar Name box, type a name for your new custom toolbar.
In the Make toolbar available to box, click the template or open document where you want to
store the toolbar.
o Click the Commands tab. Click the category that you want to select your button from.
Under Commands, drag the button that you want to the new toolbar.
o Click Close.
Under Toolbars, click the custom toolbar that you want to delete, and then click Delete.
Note You cannot delete a built-in toolbar. When you select a built-in toolbar in the Toolbars list,
the Delete button is unavailable, and the Reset button becomes available. If you click the Reset
button, the built-in toolbar returns to its original default appearance.
References [edit]
4. http/Doc.microsoft.com
Operation Sheet 3
4 Formatting Fonts
To Changing font type
Click the down arrow next to the font field on the format bar.
(If you want to change the font to bold, italic, or underlined,
click on the B, I, or U on the format bar.)
After clicking the down arrow for the font, you should be able
to select from each of the installed fonts on your computer.
Click the font you want to use and the highlighted text will
change.
Click the down arrow next to the size box on the format bar.
Often, the default size is 12, as shown in the above example.
After clicking the down arrow for the size, you should have a
selection of different sizes to choose. Some fonts may not
scale properly, so they may have limited size options.
After clicking the down arrow for the color, select the color
you want to make the text.
Task 1
Adjust the paper size in to landscape
Task2
Task3
o Make the type Bold
o Make the font size 20
o Make the font color red
Creating a Report
This guide will also assist you to attain the learning outcome stated in the cover page.
Specifically, upon completion of this Learning Guide, you will be able to –
21. Ask from your teacher the key to correction (key answers) or you can request your
teacher to correct your work. (You are to get the key answer only after you finished
answering the Self-check 1).
22. If you earned a satisfactory evaluation proceed to “Information Sheet 2”. However, if
your rating is unsatisfactory, see your teacher for further instructions or go back to
Learning Activity #1.
23. Submit your accomplished Self-check. This will form part of your training portfolio.
24. Read the information written in the “Information Sheet 2”. Try to understand what are
being discussed. Ask you teacher for assistance if you have hard time understanding
them.
45. Accomplish the “Self-check 2” in page 8.
46. Ask from your teacher the key to correction (key answers) or you can request your
teacher to correct your work. (You are to get the key answer only after you finished
answering the Self-check 2).
47. Read the information written in the “Information Sheets 3 . Try to understand what are
being discussed. Ask you teacher for assistance if you have hard time understanding
them.
Accomplish the “Self-check 3” in page 11.
48. Ask from your teacher the key to correction (key answers) or you can request your
teacher to correct your work. (You are to get the key answer only after you finished
answering the Self-check 3).
49. Read the “Operation Sheet 1”in page 12 and try to understand the procedures
discussed.
50. If you earned a satisfactory evaluation proceed to “Operation Sheet 2” in page13 .
However, if your rating is unsatisfactory, see your teacher for further instructions or go
back to Learning Activity #1.
51. Read the “Operation Sheet 2” and try to understand the procedures discussed.
52. Do the “LAP test” in page 53 (if you are ready). Request your teacher to evaluate your
performance and outputs. Your teacher will give you feedback and the evaluation will
be either satisfactory or unsatisfactory. If unsatisfactory, your teacher shall advice you
on additional work.
Decide how to lay out your report when you design a report, you must first consider
how you want the data arranged on the page and how the data is stored in the
database. During the design process, you might even discover that the
arrangement of data in the tables will not allow you to create the report that you
want. This can be an indication that the tables are not normalized — this means
that the data is not stored in the most efficient manner.
Make a sketch of your report This step is not required — you might find that
the Access Report Wizard or the Report tool (both of which are available on
the Create tab, in the Reports group) provide a sufficient starting design
for your report
Decide which data to put in each report section Each report has one or
more report sections. The one section that is present in every report is the
Detail section. This section repeats once for each record in the table or
query that the report is based on. Other sections are optional and repeat
less often and are usually used to display information that is common to a
group of records, a page of the report, or the entire report
Decide how to arrange the detail data Most reports are arranged in either
a tabular or a stacked layout, but Access gives you the flexibility to use just
about any arrangement of records and fields that you want.
Mixed layout You can mix elements of tabular and stacked layouts. For
example, for each record, you can arrange some of the fields in a horizontal
row at the top of the Detail section and arrange other fields from the same
record in one or more stacked layouts beneath the top row. The following
illustration shows an employee report that was created by using a mixed
layout. The ID, Last Name, and First Name fields are arranged in a tabular
control layout, and the Job Title and Business Phone fields are arranged in
a stacked layout. In this example, gridlines are used to provide a visual
separation of fields for each employee.
Justified layout If you use the Report Wizard to create your report, you
can choose to use a justified layout. This layout uses the full width of the
page to display the records as compactly as possible. Of course, you can
achieve the same results without using the Report Wizard, but it can be a
painstaking process to align the fields exactly. The following illustration
shows an employee report that was created by using the Report Wizard's
justified layout.
Directions: Answer all the questions listed below. Use the Answer sheet provided
in the next page:
2. Which layout uses the full width of the page to display the records as
compactly as possible?(2)
A. Mixed
B. Justified
C. A&B
You can ask you teacher for the copy of the correct answers.
Answer Sheet
Score = ___________
Rating: ____________
Layout view is the most intuitive view to use for report modification, and can be used for
nearly all the changes you would want to make to a report in Access. In Layout view, the
report is actually running, so you can see your data much as it will appear when printed.
However, you can also make changes to the report design in this view. Because you can
see the data while you are modifying the report, it's a very useful view for setting column
widths, add grouping levels, or performing almost any other task that affects the
appearance and readability of the report. The following illustration shows a Customer
Phone Book report in Layout view.
The report you see in Layout view does not look not exactly the same as the printed report.
For example, there are no page breaks in Layout view. Also, if you have used Page Setup
for format your report with columns, the columns are not displayed in Layout view.
However, Layout view gives you a very close approximation of the printed report. If you
want to see how the report will look when printed, use Print Preview.
Design view gives you a more detailed view of the structure of your report. You can see
the header and footer bands for the report, page, and groups. The report is not actually
running in Design view, so you cannot see the underlying data while working; however,
there are certain tasks you can perform more easily in Design view than in Layout view.
You can:
Directions: Answer all the questions listed below. Use the Answer sheet provided in the
next page:
A. Layout view
B. Mixed view
C. Justified view
2. Which view gives you a more detailed view of the structure of your report.(2)
A. Design
B. Mixed
C. A&B
You can ask you teacher for the copy of the correct answers.
Answer Sheet
Score = ___________
Rating: ____________
3.1 Introduction
Report is a document containing information organized in a narrative, graphic, or tabular
form, prepared on ad hoc, periodic, recurring, regular, or as required basis. Reports may
refer to specific periods, events, occurrences, or subjects, and may be communicated or
presented in oral or written form. Liberate your Access reports and distribute them far and
wide. For example, email them to one or more users, export them to SharePoint document
libraries, and archive them on network folders.
When you distribute an Access report, you create a static report of data at a certain
moment in time, such as daily, weekly, or monthly. By doing so, you have a single point
of truth that information workers can use to make good business decisions, answer
questions, find alternatives, determine best plans, evaluate risks, and improve quality.
The term "business representative" is often used as a general reference for sales
professionals, customer service professionals or anyone serving as an interface between
customers and a company However, this term has a very specific meaning and
application in the business world.
Personalized emails: Segment your email list down to the exact audience that
would benefit most from your piece of content. Write a custom email to each of
these audience members to add a level of personalization to your message.
Explain what the content is, and why you think he or she will enjoy it..
Guest posting: Write an article that discusses -- in a non-promotional way -- the
key findings or points within your content, and send it to the editor of an online
publication that reaches your target audience. But be strategic about it. Make
sure the publication not only helps you achieve your own reach goals, but also,
has something to gain by sharing your insights, from your particular brand
Lead interviews: Work with your sales reps to identify prospective clients
you can interview for your content. Include a quote in your content, and
share it with them once it's published. Not only can that keep your leads
engaged over time, but they'll appreciate the opportunity to be featured --
and you benefit from the additional exposure to their networks when the
content is shared with that audience.
That said, some prospective clients like proposals to be brief. In these cases,
if you preemptively anticipate additional questions, you can amend your
proposal with a link to the content as a source of further reading and
information.
further nurture that relationship. Remember, it’s called client retention for a
reason
Directions: Answer all the questions listed below. Use the Answer sheet provided in the
next page:
A. Form
B. Report
C. Query
D. Table
You can ask you teacher for the copy of the correct answers.
Answer Sheet
Score = ___________
Rating: ____________
To save a eport
Click the Save button on the Quick Access toolbar. Access saves the report
unless you are saving for the first time. If you are saving for the first time, the
Save As dialog box appears.
Type the name you want to give your report.
Click OK. Access saves the report. You can now access the report by using the
Navigation pane.
Right-click the report in the Navigation Pane, and then click the view you want
on the shortcut menu.1313
Right-click the report's document tab or title bar, and then click the view you
want on the shortcut menu.
On the Home tab, in the View group, click the View button to toggle between
available views. Alternatively, you can click the arrow under View, and then
select one of the available views from the menu.
Right-click in a blank area of the report itself, and then click the view you want.
If the report is open in Design view, you must right-click outside of the design
grid.
Click one of the small view icons on the Access status bar.
On the Design tab, in the Tools group, click Add Existing Fields.
o The list of available fields is displayed. If there are fields available in
other tables, these will be displayed under Fields available in other
tables:.
Drag a field from the Field List onto the report. As you move the field, a
highlighted area will indicate where the field will be placed when you release
the mouse button.
Note: To add multiple fields at once, hold down the CTRL key and click each field
in the Field List that you want. Then, release the CTRL key and drag the fields onto
the report. The fields will be placed adjacent to each other.
You create a new report by clicking Report in the Reports group on the
Create tab.
You create a new report by clicking Blank Report in the Reports group on
the Create tab, and then dragging a field from the Field List pane to the report.
On an existing report, you can create a new control layout by doing the following:
In the Page Layout group, click Portrait or Landscape to change the paper
orientation.
To Add a logo
Double-click the label containing the report title to place the cursor in the
label.
Type the text you want to use as the report title, and press ENTER when
you have finished.
Clear the Show Number of First Page check box if you do not want a number
on the first page.
Click OK.
The page numbers are added to the report. Switch to Print Preview to see how the
numbers will look when you print the report.
On the Design tab, in the Header/Footer group, click Date and Time.
o The Date and Time dialog box is displayed.
Clear the Include Date check box if you do not want to include the date.
If you want to include the date, click the date format you want.
Clear the Include Time check box if you do not want to include the time.
If you want to include the time, click the time format you want.
o A sample of the date and time, in the formats you have chosen, appears
in the Sample area of the dialog box.
Click OK.
Drag the new text box to the location that you want it on the report.
Switch to Report view, Print Preview, or Layout view to see the line numbers.
Double-click the group header section selector (the horizontal bar above the
group header section).
To Sort Fields
When creating labels, you can sort on any field and you can have multiple levels of sort.
For example, you can sort by last name and then by first name.
1. Click to choose the fields you want to sort by. Click the single right-arrow to select
a single field, click the double right-arrow to select all fields, click the single left-
arrow to deselect a single field, click the double left-arrow to deselect all fields.
2. Click Next. The Label Wizard moves to the next page.
1. Type a title for your report. The title will appear in the Navigation pane.
2. Click Finish. Access displays the labels in Print Preview.
To Print a Report
Choose the table you wish to use as the source of your report. To do that,
you can either open the table or highlight the table name in the Navigation
Pane. In our example, we used the open Books table to create the report.
Select the Report command on the Create tab on the Ribbon, as seen
above.
The report is automatically generated and includes every field in the table in
order of their appearance in the table. This can be seen in the example
below, which was created from the table above.
The layout and formatting of the report can be manipulated in Layout View.
Access 2007 can also create a report using a query as the source. The process for
creating a report based on a query is identical to the process for creating a report
based on a table, which was outlined on the previous page. And just like when
making a report from a table, every field and record that appears in the query results
will appear on the report.
It is possible to limit the number of records in a report, but only if the report was
based on a query. The limit is set in the query itself, using the query design screen.
Click Run! to make sure the query results look like you want the report to
look.
Create the report using the Report command on the Create tab.
Format the report as desired.
With the report open, select the Group & Sort command from the Grouping
& Totals command group on the Format tab on the Ribbon.
Open a Group, Sort, and Total dialog box in the lower portion of the
window.
In the Group, Sort, and Total dialog box, select Add a group.
Select the field you wish to group by from the drop-down list. We chose to
group our list by Category.
When you release the mouse button, the report will now appear with items
grouped. Our report is grouped on Category now, as seen below.
The Group, Sort, and Total dialog box will remain open until you close it.
Access 2007 opens the created report in Layout View so you can easily make
modifications. In Layout View, you can change the look of your report in many
different ways, including:
When the Insert Picture dialog box opens, find the picture file.
Click OK.
If you don't like the standard font face and size Access used to create your report,
you can modify them using common Microsoft Office text formatting commands.
You can modify the size, font face, font color, alignment, and much more. They all
work basically the same way.
Select a format from the drop-down list. The change is applied instantly.
When a report is created, it opens in Layout View, like the one in the picture below.
The dotted lines are showing where the edge of the page will be in Report View.
Select the layout option you wish to alter from the Page Layout command
group on the Ribbon.
Page Layout
Option Description
To set the margins for narrow, wide, or
Margins normal
Saving a report
When you have created and modified a report and try to close it, Access 2007 will
prompt you to name and save the report. If you do not need this report again, you
do not need to save it. However, if you think you may want to publish it again, it is
best to save.
To save a report
Click OK.
!
On the Format tab of the property sheet, set the Repeat Section property to
Yes.
Name: ______________________________________
Date:________________________________________
Time started: _______________________________ Time finished:
_______________________________
Task 1
Create Reports
Use the Report Button
Use the Report Wizard
Task2
Modify a Report
Change view
Change the Size of a Field or Label
Report Properties
o Add a field
o Delete a field
o Move a column
o Change a title
55. Read the information written in the “Information Sheets 3 . Try to understand what are
being discussed. Ask you teacher for assistance if you have hard time understanding
them.
56. Accomplish the “Self-check 3” in page 9.
57. Ask from your teacher the key to correction (key answers) or you can request your
teacher to correct your work. (You are to get the key answer only after you finished
answering the Self-check 3).
58. Read the “Operation Sheet 1”in page 10. and try to understand the procedures
discussed.
59. If you earned a satisfactory evaluation proceed to “Operation Sheet 2” in page 15.
However, if your rating is unsatisfactory, see your teacher for further instructions or go
back to Learning Activity #1.
60. Read the “Operation Sheet 2” and try to understand the procedures discussed.
61. If you earned a satisfactory evaluation proceed to “Operation Sheet 3” in page 17.
However, if your rating is unsatisfactory, see your teacher for further instructio ns
or go back to Learning Activity #1.
62. Read the “Operation Sheet 3” and try to understand the procedures discussed.
63. Do the “LAP test” in page 20 (if you are ready). Request your teacher to evaluate your
performance and outputs. Your teacher will give you feedback and the evaluation will
be either satisfactory or unsatisfactory. If unsatisfactory, your teacher shall advice you
on additional work.
1.1 Introduction
A form is a screen that allows you to enter, change, and view the data in a database.
Think of forms as windows into your data that help users understand and work with that
data.
Forms are made up of controls, such as text boxes, buttons, document tabs, and
drop-down lists, grouped in a way that makes them easy to use and helps you get work
done.The controls in the form are usually bound, or connected, to the tables or queries
in your database — but not always. For example, a control that displays your corporate
logo doesn't have to be bound to a table field. It can just point to the image it displays.In
addition to entering data, you can use forms in other ways. For example, you can create
a form that asks for input, and then generates a custom report based on that input.
3. Is a screen that allows you to enter, change, and view the data in a
database? (1 points)
6. List & Discuss on the different types of Controls in MS access? (12 point)
What Database
Types of data bases. Databases have evolved since their inception in the 1960s,
beginning with …
Relational database. A relational database, invented by E.F. Coded at IBM in 1970,
is a tabular …
Distributed database. A distributed database is a database in which portions of the
database are …
Cloud database. A cloud database is a database that has been optimized or built
for a virtualized …
Open an existing data base
There are the different methods you can use to open existing Access databases. You can
open databases from Windows Explorer or from within Access itself. You can open
multiple databases at once, and you can also create desktop shortcuts that open
database objects dire
ctly.
Directions: Answer all the questions listed below. Use the Answer sheet provided in the
next page:
A. True
B. False
6. Saving your work in Access is a little different from saving in most Office
apps.(3)
A. False
B. True
You can ask you teacher for the copy of the correct answers.
Rating: ____________
://support.office.com/en-us/article/Open-an-existing-database-6F893B9D-9007-
4628-930B-7EE4864A883
Forms are made up of controls, such as text boxes, buttons, document tabs, and
drop-down lists, grouped in a way that makes them easy to use and helps you get work
done.The controls in the form are usually bound, or connected, to the tables or queries
in your database — but not always. For example, a control that displays your corporate
logo doesn't have to be bound to a table field. It can just point to the image it displays.In
addition to entering data, you can use forms in other ways. For example, you can create
a form that asks for input, and then generates a custom report based on that input.
https://support.office.com/en-us/article/Open-an-existing-database
1. Directions: Answer all the questions listed below. Use the Answer sheet
provided in the next
A. Bound
B. Objects
C. All of the above
A. Form object
B. Controls
C. Texts
You can ask you teacher for the copy of the correct answers.
Score = ___________
Answer Sheet
Rating: ____________
You can use the Navigation bars to move through the records on a form.
1 Go to First Record
2 Go to Previous Record
3 The Current Record
4 Go to Next Record
5 Go to Last Record
6 Create a New (Blank) Record
Tip: After you create a form, you can save it. You can open a saved form at any
time.
1. Click the Save button on the Quick Access toolbar. Access saves the form unless
you are saving for the first time. If you are saving for the first time, the Save As
dialog box appears.
2. Type the name you want to give the form.
3. Click OK. Access saves the form. You can now access the form by using the
Navigation pane.
You can also save by right-clicking a form’s tab and then selecting Save from the
menu that appears. Access saves the form unless you are saving for the first time. If you
are saving for the first time, the Save As dialog box appears. Type the name you want to
give the form and then click OK. Access saves the form. You can now access the form
by using the Navigation pane.
A split form is a form in which the same data is displayed in two views
simultaneously. One part of the form displays in Form view (stacked fields), while the
other part displays in Datasheet view. The two views are synchronized, so as you select
a field in one view, it is automatically selected in the other view. You can add, change, or
delete the data in either view. Using a split form gives you the benefits of two types of
forms in a single form. For example, you can use the datasheet portion to locate records
and the form portion to edit records.
You can use the Multiple Items button on the Forms tab to create a form that displays
multiple records, one record per row.
2. Click the table or query on which you want to base your form.
3. Activate the Create tab.
4. Click Multiple Items in the Forms group. Access creates a multiple items form.
Tip: A view is a way of looking at an Access object. Forms have three views: Form
view, Layout view, and Design view. You can enter, edit, and view data in Form view. You
can modify a form in Layout view or Design view. In Layout view, you can see your data,
and the form you see closely resembles what your form will look like when you view it in
Form view. You can make most, but not all, changes to your form in Layout view. Design
view displays the structure of your form. In this view you cannot see the underlying data,
but you can perform some tasks in Design view that you cannot perform in Layout view.
This tutorial focuses on Layout view.
1. Click a side of the field and drag to change the width of the field.
2. Click the top or bottom of a field and drag to change the height of a field.
To move a datasheet
To resize a datasheet
To apply an AutoFormat
The AutoFormat option on the Format tab enables you to apply formats quickly, such
as background colors, field colors, field label colors, and fonts.
When you create a form, by default, Access uses the form name as the title. You can
change the title.
You can easily add the date and time to your form.
https://support.office.com/en-us/article/Open-an-existing-database-6F893B9D-
9007-4628-930B-7EE4864A8833
click the file name in the Recent list on the getting started page. Access opens the
database with the same option settings it had the last time you opened it. If the list of
recently used files is not displayed:
Open the database containing the object for which you want to create a shortcut.
Resize the Access window and minimize any other open windows so that you can
see the desktop behind the Access window.
In the Navigation Pane, find the object for which you want to create the shortcut.
Drag the object from the Navigation Pane to the desktop. When you release the
mouse button, the shortcut is created on the desktop.
If you want the shortcut in a location other than the desktop, use Windows Explorer
to move the shortcut to the location you want.
Reference
https://support.office.com/en-us/article/Open-an-existing-database-6F893B9D-
9007-4628-930B-7EE4864A8833
Verify the Control Wizards command is selected in the Controls group on the
Form Design Tools Design Contextual tab
Click the Button command in the Controls group on the Form Design Tools
Design Contextual tab
Click on your form where you want the command button to be inserted
Figure 3.2. Command Button Wizard - Choose the Command Button Options
Set your command button option
Click Next
Figure 3.3. Command Button Wizard - Choose How the Button Should Work
Task 1
Create a form by using a wizard
Task 2
Create the Navigation Buttons
Create a label that displays your name
Task 3
o Create a text box
o Insert Picture
o Insert Chart
o Create a link to open another form
o Create control button that closes the form
o Save the Form
o Open Existing form
This learning guide is developed to provide you the necessary information regarding
the following content coverage and topics –
Retrieving Information
This guide will also assist you to attain the learning outcome stated in the cover page.
1: Learning Instructions
33. Read the specific objectives of this Learning Guide.
34. Follow the instructions described in number 3 to 18.
35. Read the information written in the “Information Sheets 1”. Try to understand what are
being discussed. Ask you teacher for assistance if you have hard time understanding
them.
36. Accomplish the “Self-check 1” in page 5.
37. Ask from your teacher the key to correction (key answers) or you can request your
teacher to correct your work. (You are to get the key answer only after you finished
answering the Self-check 1).
38. If you earned a satisfactory evaluation proceed to “Information Sheet 2”. However, if
your rating is unsatisfactory, see your teacher for further instructions or go back to
Learning Activity #1.
39. Submit your accomplished Self-check. This will form part of your training portfolio.
40. Read the information written in the “Information Sheet 2”. Try to understand what are
being discussed. Ask you teacher for assistance if you have hard time understanding
them.
64. Accomplish the “Self-check 2” in page 9.
65. Ask from your teacher the key to correction (key answers) or you can request your
teacher to correct your work. (You are to get the key answer only after you finished
answering the Self-check 2).
66. Read the information written in the “Information Sheets 3 . Try to understand what are
being discussed. Ask you teacher for assistance if you have hard time understanding
them.
67. Accomplish the “Self-check 3” in page 12.
68. Ask from your teacher the key to correction (key answers) or you can request your
teacher to correct your work. (You are to get the key answer only after you finished
answering the Self-check 3).
69. Read the information written in the “Information Sheets 4 . Try to understand what are
being discussed. Ask you teacher for assistance if you have hard time understanding
them.
70. Accomplish the “Self-check 4” in page 14.
71. Read the “Operation Sheet 1”in page 15. and try to understand the procedures
discussed.
72. If you earned a satisfactory evaluation proceed to “Operation Sheet 2” in page 17.
However, if your rating is unsatisfactory, see your teacher for further instructions or go
back to Learning Activity #1.
73. Read the “Operation Sheet 2” and try to understand the procedures discussed.
74. If you earned a satisfactory evaluation proceed to “Operation Sheet 3” in page 37.
However, if your rating is unsatisfactory, see your teacher for further instructio ns
or go back to Learning Activity #1.
75. Do the “LAP test” in page 50 (if you are ready). Request your teacher to evaluate your
performance and outputs. Your teacher will give you feedback and the evaluation will
be either satisfactory or unsatisfactory. If unsatisfactory, your teacher shall advice you
on additional work.
Browse through all recordsYou can browse through records by using the TAB
key when you want to move through one record at a time, in order, to locate a specific
record. You can also browse through records in a table in Datasheet view using the
record navigation buttons. The record navigation buttons are available at the bottom of
the table or form.
The techniques that you can use to search and filter records are very useful for
finding specific records for the case at hand. However, you might want to perform the
same search or filter operation regularly. Instead of reproducing a set of search and
filter steps every time, you can create a query. A query is a powerful and flexible way to
locate specific records because it lets you perform customized searches, apply
customized filters, and sort records. You can build your own queries to help you focus
on specific records and to answer specific questions. Once created, a query can be
saved and reused, and can also be used in building forms and reports.
Directions: Answer all the questions listed below. Use the Answer sheet provided in
the next page:
C. Delete
D. None
. 3. ---is a powerful and flexible way to locate specific records & customized
searches
A. True
B. False
You can ask you teacher for the copy of the correct answers.
A query is a request for data results, for action on data, or for both. You can use a query
to answer a simple question, to perform calculations, to combine data from different
tables, or even to add, change, or delete table data .A query is a derived item in the
database meant
to answer specific questions that relate to the information in the database. It is the means
to retrieve relevant information in one or more tables.
2.1Types of Queries
Select Query
The select query is the simplest type of query and because of that, it is also
the most commonly used one in Microsoft Access databases.
A select query is the most common type of query.
It retrieves data from one or more tables and displays the results in a datasheet
where you can update the records (with some restrictions).
You can also use a select query to group records and calculate sums, counts,
averages, and other types of totals.
It can be used to select and display data from either one table or a series of
them depending on what is needed.
In the end, it is the user-determined criteria that tell the database what the
selection is to be based on.
After the select query is called, it creates a "virtual" table where the data can
be changed, but at no more than one record at a time.
Action Query
Action queries are very popular in data management because they allow for
many records to be changed at one time instead of only single records like in
a select query.
When the action query is called, the database undergoes a specific action
depending on what was specified in the query itself.
This can include such things as creating new tables, deleting rows from
existing ones and updating records or creating entirely new ones.
Four kinds of action queries are:
Append Query
An append query adds a group of records from one or more tables to
the end of one or more tables. For example, suppose that you acquire
some new customers and a database containing a table of information
on those customers. To avoid typing all this information into your own
database, you'd like to append it to your Customers table.
Delete Query
A delete query deletes a group of records from one or more
tables. For example, you could use a delete query to remove
products that are discontinued or for which there are no orders.
With delete queries, you always delete entire records, not just
selected fields within records.
Make Table Query
As the name suggests, it creates a table based on the set
results of a query.A make-table query creates a new table from
all or part of the data in one or more tables.Make-table queries
are helpful for creating a table to export to other Microsoft
Access databases or a history table that contains old records.
Update Query
Allows for one or more field in your table to be updated.
An update query makes global changes to a group of records in
one or more tables.
For example, you can raise prices by 10 percent for all dairy
products, or you can raise salaries by 5 percent for the people
within a certain job category. With an update query, you can
change data in existing tables.
Parameter Query
In Microsoft Access, a parameter query works with other types of
queries to get whatever results you are after.
This is because, when using this type of query, you are able to pass a
parameter to a different query, such as an action or a select query.
It can either be a value or a condition and will essentially tell the other
query specifically what you want it to do.
It is often chosen because it allows for a dialog box where the end user
can enter whatever parameter value they wish each time the query is
run. The parameter query is just a modified select query.
A parameter query is a query that when run displays its own dialog box
prompting you for information, such as criteria for retrieving records or a
value you want to insert in a field.
You can design the query to prompt you for more than one piece of
information; for example, you can design it to prompt you for two dates.
Access can then retrieve all records that fall between those two dates.
Parameter queries are also handy when used as the basis for forms,
reports, and data access pages.
Directions: Answer all the questions listed below. Use the Answer sheet provided in
the next page:
1. .--- is a request for data results, for action on data, or for both(2)
A. A query
B. Table
C. Form
D. None
2. --- deletes a group of records from one or more tables (2)
A. A delete query
B. Append Query
C. Parameter query
3. Allows for one or more field in your table to be updated.(2)
A. Update Query
B. Parameter query
C. Select query
The following tables shows some sample criteria and explains how they work.
Criteria Description
This criterion applies to a Number field, such as Price or
UnitsInStock. It includes only those records where the Price or
>25 and <50
UnitsInStock field contains a value greater than 25 and less than
50.
DateDiff ("yyyy", This criterion applies to a Date/Time field, such as BirthDate. Only
[BirthDate], Date()) records where the number of years between a person's birthdate
> 30 and today's date is greater than 30 are included in the query result.
This criterion can be applied to any type of field to show records
Is Null
where the field value is null.
As you can see, criteria can look very different from each other, depending on the data
type of the field to which they apply and your specific requirements. Some criteria are
simple, and use basic operators and constants. Others are complex, and use functions,
special operators, and include field references.
This topic lists several commonly used criteria by data type. If the examples given in this
topic do not address your specific needs, you might need to write your own criteria. To do
that, you must first familiarize yourself with the full list of functions, operators, special
characters, and the syntax for expressions referring to fields and literals.
Here, you will see where and how you add the criteria. To add a criteria to a query, you
must open the query in Design view. You then identify the fields for which you want to
specify criteria. If the field is not already in the design grid, you add it by either dragging
it from the query design window to the field grid, or by double-clicking the field (Double-
clicking the field automatically adds it to the next empty column in the field grid.). Finally,
you type the criteria in the Criteria row
Criteria that you specify for different fields in the Criteria row are combined by using the
AND operator. In other words, the criteria specified in the City and BirthDate fields are
interpreted like this:
City = "Chicago" AND BirthDate < DateAdd (" yyyy ", -40, Date())
What if you want only one of these conditions to be met? In other words, if you have
alternate criteria, how do you enter them?
If you have alternate criteria, or two sets of independent criteria where it is sufficient to
satisfy one set, you use both the Criteria and the or rows in the design grid.
Directions: Answer all the questions listed below. Use the Answer sheet provided in the
next page:
a. a formula
b. String
c. A&B
2.- is a string that may consist of field references, operators, and constants(2)
A. Criterion
B. Value
You can ask you teacher for the copy of the correct answers.
selection is the determination of appropriate data type, source, and instrument(s) that
allow investigators to adequately answer research questions.
4.2 The function of displaying data
Displaying data in research is the last step of the research process.
It is important to display data accurately because it helps in presenting the
findings of the research effectively to the reader.
To make the findings more visible and make comparisons easy.
Directions: Answer all the questions listed below. Use the Answer sheet provided in the
next page:
1. --is defined as the process of determining the appropriate data type and
Source (2)
A. Data selection
b. Data processes
c. A&B
A. True
B. False
You can ask you teacher for the copy of the correct answers.
Steps to Browse through all recordsYou can browse through records by using
the TAB key when you want to move through one record at a time, in order,
to locate a specific record. You can also browse through records in a table
in Datasheet view using the record navigation buttons. The record
navigation buttons are available at the bottom of the table or form.
7. Filter indicator
8. Search box
Open the table or form, and then click the field that you want to search.
On the Home tab, in the Find group, click Find, or press CTRL+F.
The Find and Replace dialog box appears, with the Find tab selected.
In the Find What box, type the value for which you want to search.
To change the field that you want to search or to search the entire underlying
table, click the appropriate option in the Look In list.
In the Search list, select All, and then click Find Next.
When the item for which you are searching is highlighted, click Cancel in the
Find and Replace dialog box to close the dialog box. Records that match your
conditions are highlighted
Issues.* appears in the first column of the design grid, in the Field row. This
indicates that all the fields from the Issues table should be returned.
Status appears in the second column in the design grid, in the Field row.
In the second column of the design grid, clear the check box in the Show row.
This helps make sure that the query does not display the Status field.
If you do not clear the Show check box in the Status column, the Status field will
be displayed two times in the query results.
In the second column of the design grid, in the Criteria row, type ="Closed".
This is your search criterion. This is how you make sure that the query will return
only those records where the value of Status is "Closed."
Note: In this example, only one search criterion is used. You can use many
search criteria for any given search by adding criteria to more fields, and by using
the
Note: Unless you have already begun tracking issues and therefore have data in
the Issues table — and you have set the status of at least one issue to
"Closed" — the query will not return any results. However, you can save the
query, and use it at any time in the future.
The simplest way to create a query is by using the Query Wizard. It presents a list of tables and
queries you can select from the current database.
1. on the Ribbon, you can click the Create tab and, in the Other section, click Query Wizard .
This would display the New Query dialog box:
2. On the New Query dialog box, you can click Simple Query Wizard and click OK. The first page
of the Simple Query Wizard expects you to choose the origin of the query as a table or an
already created query. After selecting the table or query, the second page of the wizard would
present the fields of that list and you can select those you want:
The next page of the wizard allows you to specify the name of the query:
Like other objects of a database, a query can be designed. You design a query using the Design
View:
To display a query in Design View, from the Navigation Pane, you can right-click a query and
click Design View
To start designing a new query, in the Other section of the Create tab of the Ribbon, click
Query Design
This would display the Show Table dialog box that allows you to specify the table or query that
holds the fields you want to use in the intended query
If the Show Tables dialog box is closed or for any reason you want to display it:
In the Query Setup section of the Design tab of the Ribbon, you can click the Show Table
button
You can right-click anywhere on the query window and click Show Table...
When a query is displaying in Design View, the Design tab of the Ribbon displays the buttons used
for a query:
The Query window allows you to design and manage various aspects of a query. You can right-
click the title bar of the Query window to access a menu:
One of the operations you can perform on the Query window consists of resizing its top and bottom
sections by dragging the splitter bar up or down:
To create the fields for a query, you use the table(s) or query( queries) displayed in the upper
section of the window. Once you have decided on the originating object(s), you can select which
fields are relevant for your query:
You can also select more than one field and drag them:
Instead of dragging a field or all fields, you can either double-click a field to add it to the
query, or double-click the line with * to add all fields to the query
In the bottom part of the query window, click an empty Field box to show a combo box. Then
click the arrow of that combo box and select an item from the list:
Executing a Query
To execute a query:
If the query is currently closed, from the Navigation Pane:
o You can double-click it
o You can right-click it and click Open
If the query is already opened and it is in Design View, on the Ribbon:
o You can click the View button or you can click the arrow of the View button
and click Datasheet View
If you manually write a SQL statement and want to execute it, change the view to Datasheet View.
Selecting a Column
Some operations require that you select a column from the bottom section of the query window:
To select a field in the lower section of the view, click the tiny bar of the column header:
As seen above, a query is built by selecting columns from the originating list and adding them. If
you do not need a column anymore on a query, which happens regularly during data analysis, you
can either delete it or replace it with another column:
To delete a column:
o Once it is selected, you can press Delete
o Right-click the column header and click Cut
To delete a group of columns, select them and press Delete
Replacing a Column
To replace a column, click the arrow on the combo box that displays its name and select a different
field from the list:
Moving a Column
Columns on a query are positioned incrementally as they are added to it. If you do not like the
arrangement, you can move them and apply any sequence of your choice. Before moving a column
or a group of columns, you must first select it. Then:
To move a field
1. click its column header once.
2. Click it again and hold your mouse down,
4. To move a group of columns, first select the group and then proceed as if it were one
column
1. Click the QUERY DESIGN icon (located in the OTHER group of the CREATE
ribbon). The QUERY DESIGN window then opens along with the SHOW
TABLE dialog form.
2. The next step is to add tblMoreNames to the QUERY DESIGN window. Do this
by clicking ADD in the SHOW TABLE dialog form. Notice it is the table
containing the data to behappended that we have selected.
3. Click the APPEND icon from the QUERY TYPE group of the DESIGN ribbon. As
you do this, you will see the APPEND dialog box open.
4. You are now asked to select the name of the original table to which the new data
is to be appended. So select tblContacts from the drop down list.
5. You are also asked whether this table is stored in the current database or in an
external database. In this exercise both tables are stored in the current
database. This is the default button displayed in the option group, so there
should not be any need to change it.
6. Click OK to close the dialog box.
9. We could add query criteria at this stage, but this particular exercise does not
require any. If we did, however, this is added in the CRITERIA row just like it is
with a select query.
10. If you want to view the data that is going to be appended, click the VIEW icon
from the RESULTS group of the DESIGN ribbon. It is especially important to do
this if any if any criteria is applied in step 9 above.
11. Once you are satisfied the correct data is going to be appended, click the RUN
icon, again from the RESULTS group of the DESIGN ribbon.
12. A dialog box opens informing us that 10 rows are going to be appended, and
asking us to confirm that we want to go ahead with this operation. Click YES to
complete.
Note that Tom Gumman and Tina Gumman are currently employees.
To Add fields
1. In the field list of the Employees table, click-and-drag the * field to the first
column of the design grid.
3. In the field list of the Employees table, double-click the Last Name field.
To Add criteria
1. In the Last Name column of the design grid, click in the Criteria row.
2. Type:Gumman then press the ENTER key. It should look like this:
Note that Tom Gumman and Tina Gumman are no longer listed as
employees.
Example 2
The Select Query has now been created. It should look like this:
Figure 2: The Select Query created in the first stage of the Delete Query.
It is advisable to run the query at this point and check the results are correct. They should
look like this:
As you can see, our select query has found four records from tblContacts matching the
criteria of Company 5". Since this is the correct result for the dataset we are working
with, we can move onto the second stage of the process: converting the Select Query to
a Delete Query.
1. If you look at the QUERY TYPE group of the DESIGN ribbon, you will notice that
the SELECT QUERY icon is highlighted orange. We need to change this to
DELETE QUERY. To do this just click the DELETE QUERY icon further along the
group.
2. After clicking the DELETE icon, you will notice that the row of SHOW tick boxes
disappears from the DESIGN GRID, along with the row for SORT. A new row
entitled DELETE has taken their place. Access has filled in the values of FROM
and WHERE in the first and second columns respectively. These are SQL
Keywords: the FROM keyword indicates the first column contains
fields from tblContacts, and WHERE indicates the Company column contains a
criteria against the data stored in this field.
We can now go back and open the tblContacts table. As you can see from Figure 5
below, all Company 5 contacts have been removed by our DELETE QUERY.
Using our scenario, we will create a make-table query for all customers from the
specified area that have ordered products in the past 12 months. We will need to
perform the following steps to create the query:
Steps to
2. From the Query Type button on the toolbar, select Make
Table
The Make Table dialog box appears, where you should enter the name for the new
table. Here we can also select whether we want to create the new table in the
current database or in another database. Ensure that the current database is
selected and click OK.
5. To check that the results are returned that we expect, click on the datasheet
button on the toolbar. Once you have verified this, switch back to query
design view.
6. In query design, deselect the Show: property for the OrderDate field, as we do not
need this to be visible in our new table.
7. Click on the Run button on the toolbar. Microsoft Access now displays a
message to indicate how many records will be copied to the new table.
8. Click Yes to complete the query, and create the new table.
1. When the Show Table window appears, select the tables that you wish to use in the
query
2. Click on the Add button. When you have finished adding your tables
3. Click on the Close button.
In this example, we've selected the Big and Bot tables. You can select multiple tables by
holding down the Ctrl key while selecting the table names.
4. Next, right-click somewhere next to the tables (but not on a table) in the query editor,
5. select Query Type > Update Query from the popup menu.
This query will update the MFG field in the Bot table with the value in the MFG field in
the Big table when the PART values match.
Example 2
Here are the steps that we follow to produce the required outcome:
1. Create a new query using the Products table and the Suppliers table. Include the
fields that you are going to use to update the data (ProductID, ProductName and
UnitPrice from the Products table, and CompanyName from the Suppliers table)
We have also included criteria in the CompanyName field to limit the results to only
those of the Supplier that we are updating the records for.
Also, in the image below, you will see that we have included an additional field, just
to test our expression. This will give us a value for the 3% increase, just to check
that the results will be returned correctly. This field will be removed before we run
the update, but we will use the expression later.
Creating a SELECT query, that will later be changed to the UPDATE Query
2. To check what results this will produce, run the query by clicking on the
datasheet button
Example 3
2. Note the price (to customers) of French Truffles ($8.99) and Blue Mountain
Coffee ($9.99).
3. Note the cost (to the store) of French Truffles ($6.15) and Blue Mountain
Coffee ($8.00).
10. In the field list of the Products table, scroll down and double-click
the Price field.
12. Type:
[Cost]*1.25
To Verify results
Note the updated price of French Truffles ($7.69) and Blue Mountain
Coffee ($10.00).
Parametric Query
Example 1
For example, using a parameter to query for date valWhen the query is run,
Microsoft Access displays this text to prompt the user for the criteria. The text of the
prompt must be different from the field name, although it can include the field name.
3. Run the parameter query
4. When you are prompted to enter a parameter value, enter the value of the data that
you want to view and click OK.: