Operate Database Application For Print
Operate Database Application For Print
Level-II
Based on March 2022, Curriculum
Module Title: - Operate Database Application
Unit one: Database Object
1.1. Basic Design Principle
1.1.1. Database Design Principle
Database design is the organization of data according to a database model. The designer determines what data
must be stored and how the data elements interrelate. With this information, they can begin to fit the data to the
database model. Database management system manages the data accordingly. Database design involves
classifying data and identifying interrelationships.
1.1.2. Basic principle of database
Usability: Any information which we are storing in any organization should be meaningful for that organization.
If we are storing those factors which are actually not fit with organization’s requirement then this is just waste of
resources.
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:
Performance: As we know that information should be readily available as requested. Performance of the system
should be up to the mark. As data in increasing day by day so at some time there will be impact on performance
if database design is poor or we’ll not take any actions to improve performance.
Availability: The availability of information refers to the information’s accessibility when required regarding
uptime, locations, and the availability of the data for future analysis. Disaster recovery, redundancy, archiving,
and network delivery all affect availability.
Security: For any organizational asset, the level of security must be secured depending on its value and sensitivity.
Sometime organizations have 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.
Page 2 of 47
1.3. Database Objet
A database object is any defined object in a database that is used to store or reference data. Anything which we
make from create command is known as Database Object. It can be used to hold and manipulate the data.
A database object in a relational database is a data structure used to either store or reference data.
When a database object is created, a new object type cannot be created because all the various object types created
are restricted by the very nature, or source code, of the relational database model being used, such as Oracle, SQL
Server or Access. What is being created is instances of the objects, such as a new table, an index on that table or
a view on the same table.
Page 3 of 47
Entering unique names of the columns of the table in the “field name” column of the design view.
Names of fields and objects in Microsoft Access can be up to 64characters long.
They can include any combination of letters, numbers, spaces, and special characters except a period (.), an
exclamation point (!), an accent grave (`), and brackets ([ ]). They also can't begin with leading spaces
1.4.1. Data types in Microsoft Access
An Access database stores its tables in a single file, along with other objects, such as forms, reports, macros, and
modules.
The different kinds of Ms Access data types are:
Text: allows for the storage of any kind of data, characters, digits and special characters.
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.
Auto number: 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.
1.4.1. Normalization
Normalization is the process of organizing data in a database. This includes creating tables and establishing
relationships between those tables according to rules designed both to protect the data and to make the database
more flexible by eliminating redundancy and inconsistent dependency. It is also the process of efficiently
organizing data in a database.
Goal of Normalization process
Eliminating redundant data (for example, storing the same data in more than one table)
Ensuring data dependencies make sense (only storing related data in a table). Both used to reduce the amount of
space a database consumes and ensure that data is logically stored.
Page 4 of 47
1.5. Modify Data Base object
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.
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.
Page 5 of 47
1.6.1. Types of key
Keys are fields that are part of a table relationship. There are two kinds of keys
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.
A table can have only one primary key.
Primary Key is the unique identification of one record. There is a uniquely identification number, such
as: ID number, serial number and code that serves as a primary key
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
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.
ER Diagrams Usage
Page 6 of 47
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:
In the diagram, the information inside the oval shapes is attributes of a particular entity.
ER Diagram Symbol and Notations
Elements In ER Diagram
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.
Attribute
An attribute is a property, trait, or characteristic of an entity, relationship, or another attribute.
For example, the attribute Inventory Item Name is an attribute of the entity Inventory Item. An entity can have as
many attributes as necessary.
Meanwhile, attributes can also have their own specific attributes. For example, the attribute “customer address”
can have the attributes number, street, city, and state. These are called composite attributes.
Note that some top level ER diagrams do not show attributes for the sake of simplicity.
In those that do, however, attributes are represented by oval shapes.
Page 7 of 47
Attributes in ER diagrams, note that an attribute can have its own attributes (composite attribute)
Relationship
A relationship describes how entities interact. 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.
In the below example an employee can be a supervisor and be supervised, so there is a recursive relationship.
Cardinality and ordinarily are two other notations used in ER diagrams to further define relationships.
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.
The relationship in this case follows a “one to many” model.
There are number of notations used to present cardinality in ER diagrams.
Figure 9 Example of a recursive relationship in ER diagrams
ER Diagram Template
Page 8 of 47
ERD templates can be edited and adjusted to fit into your work, regardless of industry. This entity-relationship
diagram template will help you organize databases and information systems efficiently, highlighting vital
relationships developed between a system’s components.
1.7. Record
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.
Page 9 of 47
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.
You are editing this record; changes to the record aren't yet saved.
This is the primary key field and contains a value that uniquely identifies the record.
A B
………..1. Domain integrity A. Refers to the information’s accessibility
………..2. Availability B. The unique identification of one record
………..3. Text C. Defines that data should be of correct type
………..4. ER D. Visual representation of different data
Page 10 of 47
………..[Link] key E.: Allows for the storage of any kind of data
1. 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.
2. Click Create.
3. 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.
4. 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.
Page 11 of 47
Steps to doing the task
1. Click the Microsoft Office Button ,
2. Click Open. In the Open dialog box, browse to the database that you want to open.
3. Double-click the database to open it in the default mode specified in the Access
4. Options dialog box or the mode that was set by an administrative policy.
5. Click Open to open the database for shared access in a multi-user environment so that you and other users
can read and write to the database.
6. Click the arrow next to the Open button and then click Open Read-Only to open the database for read-
only access so that you can view but not edit it. Other users can still read and write to the database.
7. Click the arrow next to the Open button
8. Click Open Exclusive to open the database with exclusive access. When you have a database open with
exclusive access, anyone else who tries to open the database receives a "file already in use" message.
Quality Criteria: create and open database
Precautions: OHS
Operation Sheet 1.2. Database Objects (Tables) Operation title: Creating
Database object
Purpose: To create and access and customize table with different option
Instruction: Using the given application software (ms access) create database object table. You have
given 30Minut for the task and you are expected to create database
Tools and requirement:
1. Personal computer
2. Microsoft office(ms access application)
Steps to Create a new table in a new database
1. Click the Microsoft Office Button , and then click New.
2. In the File Name box, type a file name for the new database.
3. To browse to a different location to save the database, click the folder icon.
4. Click Create.
Steps to Create a new table in an existing database
1. Click the Microsoft Office Button , and then click Open.
2. In the Open dialog box, select the database that you want to open, and then click Open.
3. On the Create tab, in the Tables group, click Table.
Steps to Create a new table by using a table template
1. Click the Microsoft Office Button , and then click Open.
2. In the Open dialog box, select and open the database in which you wish to create a table.
3. On the Create tab, in the Tables group, click Table Templates and then select one of the available
templates from the list.
Steps to Create a new table by importing or linking to external data
Page 12 of 47
1. Click the Microsoft Office Button , and then click Open.
2. In the Open dialog box, select and open the database in which you wish to create a new table.
3. On the External Data tab, in the Import group, click one of the available data sources.
1. Follow the instructions in the dialog boxes that appear at each step.
Steps to Use a SharePoint site to create a table
Page 13 of 47
4. On the Design tab, in the Tools group, click Primary Key.
5. 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
1. Select the table whose primary key you want to remove.
2. On the Home tab, in the Views group, click View, and then click Design View.
3. 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.
4. On the Design tab, in the Tools group, click Primary Key.
Steps to Set a table's properties
1. Select the table whose properties you want to set.
2. On the Home tab, in the Views group, click View, and then click Design View.
3. On the Design tab, in the Show/Hide group, click Property [Link] table property sheet is shown.
4. On the property sheet, click the General tab.
5. Click the box to the left of the property that you want to set, and then enter a setting for the property.
6. To save your changes, press CTRL+S.
Steps to Add a field by using a field template
1. On the Home tab, in the Views group, click View, and then click Datasheet View.
2. On the Datasheet tab, in the Fields & Columns group, click New Field.
3. 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.
Steps to Rename a field
1. Right-click the heading of the field that you want to rename (for example, Field1).
2. On the shortcut menu, click Rename Column.
3. Enter the new name in the field heading.
Steps to Set other field properties
1. In Datasheet view, click the field for which you want to set the property.
2. On the Datasheet tab, in the Data Type & Formatting group, select the properties that you want.
Steps to Set field properties in Design view
1. Open a table in Design view
2. In the Navigation Pane, right-click the table.
3. On the shortcut menu, click Design view.
Change a field's data type
In the table design grid, locate the field for which you want to set the data type.
In the Data Type column, choose a data type from the list.
To save your changes, press CTRL+S.
Quality Criteria: create table
Precautions: OHS
Operation sheet 1.3. Modify Database Objects
Operation title: modifying Database object
Purpose: To rename a Database object Table
Instruction: Using the given application software (ms access) modify database object table. You have
given 30Minut for the task and you are expected to create database
Tools and requirement:
1. Personal computer
2. Microsoft office
Steps to turn on the Name AutoCorrect option
1. Click File>Options.
2. In the Access Options dialog box, in the left pane, click Current Database.
3. Under Name AutoCorrect Options, select the Track name AutoCorrect info check box, and then select
the Perform name AutoCorrect check box.
Page 14 of 47
4. If you want to keep a table that logs each change that is performed by Name AutoCorrect, select the Log
name AutoCorrect changes check box.
5. Click OK.
6. To save your changes, click Save on the Quick Access Toolbar.
Steps to rename a field in Datasheet view
1. In the Navigation Pane, double-click the table in which you want to rename the field.
2. Right-click the column heading for the field that you want to rename, and then click Rename Field on
the shortcut menu.
3. Type the new name for the field and then press ENTER.
Steps to rename a field in Design view
1. 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..
2. Click the cell in the Field Name column for the field that you want to rename.
3. Edit the text to rename the field.
4. To save your changes, click Save on the Quick Access Toolbar.
Steps to rename a table
1. In the Navigation Pane, right-click the table that you want to rename and then click Rename on the
shortcut menu.
2. Type the new name and then press ENTER.
3. To save your changes, click Save on the Quick Access Toolbar
Quality Criteria: rename database object table
Precautions: OHS
Operation sheet 1.4. Database Relationship
Operation title: creating Database relationships
Purpose: To create relationships
Instruction: Using the given application software (ms access) Create relationship. You have given
30Minut for the task and you are expected to create relation ship between tables.
Tools and requirement:
1. Personal computer
2. Microsoft office
Steps to Create a table relationship
1. Click the Database Tools tab.
2. Click the Relationships button.
Page 15 of 47
6. Click the related field in the first table and drag it to the related field in the second table.
Whenever you link a primary key from one table to a field from another table, you create a foreign key.
Page 16 of 47
3. Click the Relationship Report button.
Page 17 of 47
Quality Criteria: create database relationship
Precautions: OHS
LAP Test Practical Demonstration
Task-1: Create
a new database, save it on the desktop and name it "School Database"
Task-2: Create a Table in the School Database with the following
Field Name Data Type Field Size or Format
ID Number Text
10 Name Text
15 Surname Text
15 Telephone Number Number
Long Integer Date of Birth Date/Time
Medium Date Stipend Currency
Currency Foreigner Yes/No
Task-3: open the <<student table>> and enter 5 complete record.
Unit Two: Customize basic settings
1.2. Understanding layout view
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.
1.4. Fonts
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
Self check 2
Instruction: Answer all the questions listed below. You have given 1 Minute for each question. Each question
carries 2 Point.
1. Which View is the most intuitive view to use for report modification
A. Design view C. A&B
B. Lay out view D. None
2. Layout view is useful for
A. setting column widths C. performing almost any other task
B. add grouping levels D. All of the above
3. A bar that shows available commands in a program.
A. Commands bar B. Menu bar C. Title Bar
4. Toolbar that shows text formatting options.
A. Formatting toolbar B. Command bar C. Status bar
5. ……….is a graphical representation of text
Page 19 of 47
A. Font C. A&B
B. Lay out view D. None
Test II: short Answer writing
Instruction: write short answer for the given question. You are provided 3 minute for each question and each
point has 5Points
1. What is font?
2. Write down at least 3 database [Link]:
Operation Sheet 2.1. Settings layout
Operation title: Adjust page layout
Purpose: To practice and adjust page layout
Instruction: Using the given application software (ms access) to adjust a page payout. You have given
15Minut for the task and you are expected to adjust page layout.
Tools and requirement:
1. Personal computer
2. Microsoft window(ms-access application)
Steps to Change page setup
1. Click the Page Setup tab.
2. In the Page Size group, click Size to select a different paper size.
3. In the Page Size group, click Margins to make adjustments to the report's margins.
4. In the Page Layout group, click Portrait or Landscape to change the paper orientation.
Quality Criteria: set layout
Precautions: OHS
Operation Sheet 2.2. Toolbars Operation title: customize Toolbars
Purpose: To open and view toolbars
Instruction: Using the given application software (ms access) to customize a dataase toolbar. You have
given 30Minut for the task and you are expected to customize a database toolbar.
Tools and requirement:
1. Personal computer
2. Microsoft Window
Steps to create a new toolbar
1. On the View menu, point to Toolbars, and then click Customize.
2. Click the Toolbars tab, and then click New.
3. In the Toolbar Name box, type a name for your new custom toolbar.
4. In the Make toolbar available to box, click the template or open document where you want to store the
toolbar.
5. Click OK.
6. The Customize dialog box appears.
7. 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.
8. Click Close.
Steps to delete a custom toolbar
1. On the View menu, point to Toolbars, and then click Customize.
2. Click the Toolbars tab.
3. Under Toolbars, click the custom toolbar that
Operation Sheet 2.3. Database Fonts you want to delete, and then click Delete.
Operation title: formatting fonts
Purpose: To format fonts
Instruction: Using the given application software (ms access) to format a database font. You have given
15 Minute for the task and you are expected to format fonts
Tools and requirement:
1. Personal computer
2. Microsoft window
Step to Change font type
Page 21 of 47
A Form is a database object that you can use to create a user interface for a database application. A "bound" form
is one that is directly connected to a data source such as a table or query, and can be used to enter, edit, or display
data from that data source.
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.
In Access a form is an object that generally serves three purposes:
To allow users to perform data entry. Data can be inserted, updated, or deleted from a table using a
Form object.
To allow users to enter custom information, and based on that information perform a task. For example,
you may want to ask a user for parameters before running a report.
To allow users a method of navigating through the system. For example, you may create a form where a
user can select a form to load, a report to run, etc.
Creation of a form by using a wizard is the Ms Access pre-defined way of creating a form by simply following
the series of steps and choosing which field and format you would want for your Form.
Page 22 of 47
Self check 3
Test II. Choose
Instruction: Choose the answer for following question .You is provided 3 minute for each question and each
point has 5Points.
1. is a graphical representation of text
A. Font C. Table
B. Lay out view D. Text
2. When User wants to specify or change the appearance of a group of words or characters they needs
A. Formatting B. Deleting
Operation sheet 3.1. Create Form using wizard C. D.
Moving
Copying
Operation title: customize forms using wizard
Purpose: To create simple form by using wizard
Instruction: Using the given application software (ms access)to Create simple forms by using wizard.
You have given 30Minut for the task and you are expected to create simple forms by using wizards.
Tools and requirement:
1. Personal computer
2. Microsoft Window
Steps to create a form
1. Click the Create tab on the ribbon.
2. Click Form Wizard.
The Form Wizard appears. Anytime you create a form, you must tell Access which table or query you want to
use for your form
3. Click the Tables/Queries list arrow and select the table or query you want to use to create your form.
4. Click the Tables/Queries list arrow and select the table or query you want to use to create your form
Now that you have specified the table, you need to tell the Wizard which fields you want to display on the form.
To add a field to the form, you can either double-click the field or select the field and click the right arrow
button
5. Double-click the fields that you want to appear on the form.
6. Click Next
Page 23 of 47
Next the Form Wizard asks how you want to lay out the data on the form. There are a few different layout
options:
Columnar: Displays one record at a time in a format that's easy to read.
Tabular: Displays multiple records at a time.
Datasheet: Displays multiple records at a time and looks like a table in Datasheet view.
Justified: Displays one record at a time. The format usually creates complicated forms that are difficult
to work with.
7. Select a layout option and click Next.
Page 24 of 47
1. In the Navigation Pane, click the table or query that contains the data that you want on
your form.
4. On the Create tab, in the Forms group, click More Forms, and then click Split Form
The default split form will open as shown below. The Form view is on top of the Datasheet view. However, you
can change the settings under the form property.
Page 25 of 47
2. Activate the Format tab.
3. Click the down-arrow under the View button. A menu appears.
4. Click the view you want.
Steps to change the size of a field
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.
Steps to move a datasheet
1. Click the datasheet to select it.
2. Click and drag the four-sided arrow in the upper-right corner to move the datasheet.
Steps to resize a datasheet
1. Click the datasheet to select it.
2. Click a side of the datasheet and drag to change the width.
3. Click the top or bottom of the datasheet and drag to change the height.
Steps 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.
1. Activate the Format tab.
2. Click AutoFormat. The AutoFormat menu appears.
3. Click the format you want to apply.
Steps to change a form title
When you create a form, by default, Access uses the form name as the title. You can change the title.
1. Activate the Format tab.
2. Click the Title button.
3. Type the new title.
Steps to add the date and time
You can easily add the date and time to your form.
1. Activate the Format tab.
2. Click the Date and Time button. The Date and Time dialog box appears. Select the date and time format
you want. The date and time appear on your form.
Quality Criteria: create form using wizard
Precautions: OHS
Operation sheet 3.2: Modify Existing database Operation title: access
Existing database
Purpose: To open ad Modify Existing database
Instruction: Using the given application software (ms access) to access existing database. You have
given 30Minut for the task and you are expected to open and modify existing database.
Tools and requirement:
1. Personal computer
2. Microsoft Window
Step to open a database from within Access
1. Select the File tab to go to Backstage view.
2. Click Open
Page 26 of 47
3. Click Browse.
4. The Open dialog box will appear. Locate and select the database, then click Open.
Page 27 of 47
Instruction: Using the given application software (ms access) to rearrange objects. You have given
20Minute for the task and you are expected to rearrange objects.
Tools and requirement:
1. Personal computer
2. Microsoft Window
Step to create command button
1. In Form Layout view, select the Design tab, then locate the Controls group.
2. Click the Button command.
3. choose the desired location for the command button, then click the mouse.
4. The Command Button Wizard will appear. In the Categories pane, select the category of button you want
to add. We want to find a way to move more quickly to specific records, so we'll choose the Record
Navigation category.
5. The list in the Actions pane will update to reflect your chosen category. Select the action you want the
button to perform, then click Next. In our example, we'll choose Find Record.
6. You can now decide whether you want your button to include text or a picture. A live preview of your
button appears on the left.
7. To include text, select the Text option, then type the desired word or phrase into the text box.
Page 28 of 47
8. To include a picture, select the Picture option. You can decide to keep the default picture for that
command button or select another picture. Click Show All Pictures to choose from another command
button icon or Browse to choose a picture from your computer.
9. When you are satisfied with the appearance of your command button, click Next.
10. Type a name for the button. This name won't appear on the button, but knowing the name will help you
quickly identify the button if you ever want to modify it with the Property Sheet. After adding the button
name, click Finish.
Page 29 of 47
As your database grows, locating specific records will involve more than a quick glance at a datasheet. In this
article, learn five ways to locate specific records based on your needs.
You 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.
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.
Page 30 of 47
It retrieves data from one or more tables and displays the results in a datasheet where you can update the
records (with some restrictions).
is used to group records and calculate sums, counts, averages, and other types of totals.
can be used to select and display data from either one table or a series of them depending on what is
needed.
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
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.
There are four kinds of Action Query. These 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
Page 31 of 47
In Microsoft Access, a parameter query works with other types of queries to get whatever results you want. 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.
Page 32 of 47
Greater Than or Searches for all values larger than or equal
Equal To >= x to x
Searches for values in the range
Between Between "x" and "y" between x and y
Table [Link] criteria for dates
Criteria Name Write it like... Function
Between
"#mm/dd/yy#" and Searches for dates that fall between two
Between "#mm/dd/yy#" dates.
Before <#mm/dd/yy# Searches for dates before a certain date
After >#mm/dd/yy# Searches for dates after a certain date.
Searches for all records containing today's
Today =Date() date
Searches for all records containing
Days Before Today <=Date()-x dates x or more days in the past
...........2. Update Query B. the process of determining the appropriate data type and
source
...........3. Data selection C. derived item in the database
...........[Link] D. is used to group records and calculate sums
Page 33 of 47
E. Searches for dates after a certain date.
F. locate Record
Customize record
Operation title: Access &Locate Records
Purpose: To access and locate resource
Instruction: Using the given application software (ms access) to access and locate records. You have given
20Minute for the task and you are expected to access and locate reocrds.
Tools and requirement:
1. Personal computer
2. Microsoft Window
Steps to browse through all records
You can browse through records from the Datasheet view by using the record navigation buttons at the bottom
of the table or form.
1. Go to the first record 5. Go to the last record
2. Go to the previous record 6. Open a new (blank) record
3. Current Record box 7. Filter indicator
4. Go to the next record 8. Search box
You can also use the TAB key to move through one record at a time.
Steps to Search for a specific record
1. Open the table or form you want to search.
2. Click in the field that you want to search
3. Start the Find command
You can either click the Find button in the Find section of the Home tab or press Ctrl+F.
The Find and Replace dialog box opens, ready to serve you.
4. Type the text you’re looking for in the Find What box.
Page 35 of 47
6. If the wizard asks you to choose between a Detail and a Summary query, click the radio button next to
your choice and then click Next.
7. in the wizard page that appears, select a radio button for what you want to do next
8. Type a title for your query in the text box and then click Finish.
The wizard builds your query and saves it with the title you entered; then Access displays the results.
Page 36 of 47
2. Select each table that you need in the query and click Addto add it to the query.
Once you've added all the tables you need, click Close to close the dialog box.
4. Create criteria
Page 37 of 47
Initiate the ”save” prompt
3. Double-click the tables and queries you want to add and click Close
7. Click Yes
Page 38 of 47
Quality Criteria: create simple query to retrieve information
Precautions: OHS
Task-1:Create a Database called EMPLOYEE. Enter the following records, sort table by Employee No. in
ascending order, save the table as employee.
Page 39 of 47
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.
5.1.2. Types of lay out
Tabular layout A tabular layout is similar to a spreadsheet. Labels are across the top, and the data is aligned in
columns below the labels. Tabular refers to the table-like appearance of the data. This is the type of report that
Access creates when you click Report in the Reports group of the Create tab. The tabular layout is a good one to
use if your report has a relatively small number of fields that you want to display in a simple list format. The
following illustration shows an employee report that was created by using a tabular layout.
Stacked layout A stacked layout resembles a form that you fill out when you open a bank account or make a
purchase from an online retailer. Each piece of data is labeled, and the fields are stacked on top of each other.
This layout is good for reports that contain too many fields to display in a tabular format — that is, the width of
the columns would exceed the width of the report. The following illustration shows an employee report that was
created by using a stacked layout.
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.
Page 40 of 47
5.2. Modify report
Modifying or customizing reports, in many cases, is much the same as modifying or customizing any other form.
It depends, however, on what type of report you want to modify/customize and whether you want to modify the
report object or the report criteria form.
5.2.1. Understand Layout view
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 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.
5.2.2. Understand Design view
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:
Page 41 of 47
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.
Methods to distribute report
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
Follow-up emails: Encourage your sales team to include a link to your content in their follow-up emails
to prospective clients, to answer their questions and position your company as a resource they can trust.
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.
Proposal references: The best proposals are often supported with relevant data that corroborates the
solutions you’re suggesting to a prospect. And while we suggest citing a variety of authentic, reliable
sources -- otherwise, you might look biased -- referencing your own research content can be effective. Not
only is it another way to distribute your work, but also, it illustrates the time and thought your company
has invested in this school of thought.
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.
Client drip campaigns
If your content is related to your clients’ respective industries, or products and services, sharing it with them can
enhance your collaborations and further nurture that relationship. Remember, it’s called client retention for a
reason
Page 42 of 47
1------- provide a means of organizing and summarizing data.
A. Form C. Table
B. Report D. All
[Link] layout uses the full width of the page to display the records as compactly as possible?
A. Mixed B. Justified C. A&B
3---------is the most intuitive view to use for report modification
A. Layout view B. Mixed view C. Justified view
[Link] view gives you a more detailed view of the structure of your report.
A. Design C. Justified
B. Mixed D. none
5----- is a document containing information organized in a narrative, graphic, or tabular form?
A. Form C. Query
B. Report D. Table
[Link] you distribute an Access report, you create (2)
A. A static report C. mixed view
B. Normal report D. justified view
Test II. True/False
Instruction: Say True or False the questions listed below. You have given 1 Minute for each question. Each
question carries 2 Point
1. Creation of a report by using a wizard is a fastest and easy way to create a report.
2. Layout view is the most intuitive view to use for report modification.
3. Reports may not refer to specific periods, events, occurrences, or subjects, and may be communicated
or presented in oral or written form.
Operation sheet 5.1: Design report
Operation title: customize Database report
Purpose: To design Database design
Instruction: Using the given application software (ms access) to customize database report. You have
given 20Minute for the task and you are expected to design database.
Tools and requirement:
1. Personal computer
2. Microsoft Window
Step to Create Reports Using the Report Button
1. Open the table or query you want to use in your report. We want to print a list of cookies we've sold, so
we'll open the Cookies Sold query.
2. Select the Create tab on the Ribbon. Locate the Reports group, then click the Report command.
Page 43 of 47
It's likely that some of your data will be located on the other side of the page break. To fix this, resize your
fields. Simply select a field, then click and drag its edge until the field is the desired size. Repeat with additional
fields until all of your fields fit.
To save your report, click the Save command on the Quick Access Toolbar. When prompted, type a name for
your report, then click OK.
2. On the Create tab in the Reports group, click Report Wizard. The wizard starts
3. From the Tables/Queries drop-down list, select the table (or query) to base the report on.
The fields for the selected table load in the Available Fields list box.
4. Move the fields to include on the report from the Available Fields list box to
the Selected Fields list box. To do so, double-click a field name to move it or highlight
the field name and click >. To move all fields at once, click >>.
Page 44 of 47
5. Click Next
6. To group records on the report by a particular field, highlight the field in the list box and
click.
7. Add more grouping levels if desired. You can use the arrows to change the order of the
grouping levels if needed.
8. When you finish defining how you want records grouped, click Next
Page 45 of 47
Step to add a field in Layout view
1. Click the Add Existing Fields button on the ribbon.
The Field List pane appears and lists the available fields that you can add to the form.
2. Double-click the field you want to add
Page 46 of 47
1. When the label is created, the text in the label is selected for you so that if you want to change the text,
you can just begin typing the title you want.
2. Press ENTER when you have finished.
Step to add page numbers
1. On the Design tab, in the Header/Footer group, click Page Numbers.
2. The Page Numbers dialog box is displayed.
3. Choose the format, position, and alignment you want for the page numbers.
4. Clear the Show Number of First Page check box if you do not want a number on the first page.
5. Click OK.
Step to add the date or time
1. On the Design tab, in the Header/Footer group, click Date and Time.
2. The Date and Time dialog box is displayed.
3. Clear the Include Date check box if you do not want to include the date.
4. If you want to include the date, click the date format you want.
5. Clear the Include Time check box if you do not want to include the time.
6. If you want to include the time, click the time format you want.
7. A sample of the date and time, in the formats you have chosen, appears in the Sample area of the dialog
box.
8. Click OK.
Step to add line numbers
On the Design tab, in the Controls group, click Text Box.
1. Click in an open area of the section where you want the line numbers to appear. In most cases, this will
be the Detail section. You will move the text box to its final location later. When you click the report,
Access creates a new, unbound text box.
2. Click the label (just to the left of the new text box), and press DELETE.
3. Click once in the new text box to select it, and then click again to position the cursor in the text box.
4. Type =1 and then press ENTER.
5. If the property sheet is not already displayed, press F4 to display it.
6. On the Data tab of the property sheet, set the Running Sum property to Over All.
7. Resize the text box to a smaller width by positioning the pointer over the sizing handle on the right edge
of the text box and dragging it to the left. Leave enough room for the largest line number you expect to
see on this report.
8. If needed, make room for the text box on the far left edge of the Detail section by dragging the existing
controls in that section to the right, or by resizing the leftmost control in that section.
9. Drag the new text box to the location that you want it on the report.
10. Switch to Report view, Print Preview, or Layout view to see the line numbers.
Quality Criteria: Design Report
Page 47 of 47