Professional Documents
Culture Documents
UGBS 008 Combined®
UGBS 008 Combined®
UGBS 008 Combined®
College of Education
School of Continuing and Distance Education
Outline
• The Definition of Data Processing
• Types of Data
– Text data: This consists of alphabetic letters, numbers, and special characters.
They are typically entered to produce output such as letters, e-mail messages and
reports.
Text a, b, c 01100001,01100010,01100011
Number 1.2.3….
00000001,00000010,00000011
Sound
01001100010101000110100…
Image 10001001010100000100111...
Video
0110000001001101011001…
S.A ADINGO Slide 4
Data Vs Information
• Information is a summarized/processed/manipulated
data that is meaningful and useful for decision making.
• Characteristics of information:
– Relevant
– Accurate
– Complete
– Concise
– Timely
– Cost effective
S.A ADINGO Slide 5
1.2 Stages of Data Processing
1. Data Collection
2. Data Preparation
3. Data inputting
4. Data Processing
5. Data Outputting
Slide 16
S.A ADINGO
S.A ADINGO 17
UGBS 008: Data Processing
College of Education
School of Continuing and Distance Education
Slide 1
Outline
•Overview of Microsoft Excel •Working with basic data
formats
2
UGBS 008 : 2021
2.0.Introduction: What is a Spreadsheet?
• An application software that enables users to
record, process, and present data in an
organised and easily updatable manner.
4
UGBS 008 : 2021
Parts of Ms Excel
5
UGBS 008 : 2021
Parts of Ms Excel
6
UGBS 008 : 2021
Basic Components of Excel
• Spreadsheets are made up of:
– Columns
– Rows
– cells
7
UGBS 008 : 2021
What is a COLUMN ?
• In a spreadsheet the • COLUMN labeled D is
COLUMN is defined as highlighted.
the vertical space that is
going up and down the
window.
8
UGBS 008 : 2021
What is a row?
• In a spreadsheet • ROW labeled 4 is
highlighted.
the ROW is defined as
the horizontal space
that is going across
the window.
9
UGBS 008 : 2021
What is a CELL ?
• A CELL is the space • In the above diagram
where a row and the CELL labeled C2 is
column intersect. highlighted.
10
UGBS 008 : 2021
A1
B3
E7
Creating a Workbook
14
UGBS 008 : 2021
15
Data Types
16
UGBS 008 : 2021
17
Data Types
TYPE EXAMPLES
• Numeric
– values: any number
– operators: + - * / ^ %
– sample functions: sum( ), average( ), max( ), min( ) etc.
• Text (aka Character or String)
– values: Any group of letters or numbers or special characters.
Prefix value in cell with an apostrophe ( ' ) to force a text
– operators: & (concatenation)
– sample functions: right( ), left(), mid(), lower(), upper(), len(), etc
• Dates
– values: dates and times
operators: N/A
– sample functions: now( ), today( ), hour(), minute(), etc.
• Logical (aka boolean)
– values: true false
– Operators: < > = <> <= >=
– sample functions: if( ), and( ), or( ), not( ), isblank()
UGBS 008 : 2021
2.5 Working with Columns and Rows
18
UGBS 008 : 2021
19
Selecting a Cell
• “Select” a cell by
clicking on it
once (don’t
double click).
25
UGBS 008 : 2021
Resizing a Row
• Make a row
taller or
shorter by
dragging
the
separator
between
the rows.
Row is now
• Click and taller
drag here
to resize
row 5.
26
UGBS 008 : 2021
27
28
• Ctrl-click
and drag
to select
(This cell is also selected
additional even though it appears
ranges white).
29
30
Example - continued
• Step 1: Click
on row
header for
row 5
• Step 2:
Ctrl-click on
row-header
for row 11
• Step 3: Press
Bold button
or type ctrl-b
32
UGBS 008 : 2021
33
Excel Assignment 1:
Slide 35
UGBS 008 : 2021
UGBS 008 : 2021 36
UGBS 008:
Data Processing
3:Processing Data With Microsoft Excel
Formulas
Lecturer: STEPHEN.A.ADINGO
Computer Science Dept./Dept. of Distance Education
Contact Email: saadingo@ug.edu.gh
College of Education
School of Continuing and Distance Education
Slide 1
2
Outline
• Overview of a Excel formula
Subtraction: - =100-B3
Multiplication: * =A1*B1
Division: / =D1/100
Exponentiation ^ =A2^2
• You can use both explicit values and cell references in a formula
Menumonic Meaning
– Please parentheses
– Excuse exponents
Complex Formulas
• You can use several operations in one function
• You can group those operations with parentheses
• Examples
=3*2+1
=C1*(A1+B1)
=(100*A2-10)+(200*B3-20)+30
=(3+2*(50/B3+3)/7)*(3+B7)
UGBS 008: 2021
10
• If a sheet name has a space in it, you must surround the sheet name
with apostrophes (i.e. single quotes)
Examples
=sum('2202 Forecasts'!f:f)
More examples
• Add up values from 2 different sheets
=sum ( 'great stocks'!b2:c4, 'so so stocks'!b2:c4)
• This next one is a little confusing
=sum (a1,a!a1,b1:b4,b1!b4,c!c:c)
Explanation
a1 this is a cell reference on the current sheet
a!a1 "a" is the name of sheet. "a1" is a cell on the "a" sheet
b1:b4 this is a range on the current sheet
b1!b4 "b1" is the name of a sheet. "b4" is a cell on the "b1"
sheet
c!c:c “c" is the name of a sheet. “c:c" is all of the cells in the c
column on the “c” sheet
UGBS 008: 2021
13
Relative References
Mixed References
• After you select a range, a fill handle appears in the lower-right corner of the
selection.
• When you drag the fill handle over an adjacent cell or range, AutoFill copies the
content and formats from the original cell or range into the adjacent cell or range.
• By default, AutoFill copies both the content and the formatting of the original
range of the selected range
Filling a Series
• AutoFill technique can create a series of numbers, dates,
or text based on a pattern.
Assignment 2:
Enter the information below into and excel and used it to answer the
questions that follow in the same sheet
Lecturer: STEPHEN.A.ADINGO
College of Education
School of Continuing and Distance Education
2
Outline
• Overview of Excel functions
• Logical functions
• Comparison operators
2020/2021
3
• Functions have
– a name
– parentheses
– parameters/arguments
• you can have many parameters for one function separated
with commas (,)
Functions Terminologies
Consider : The name of the function SUM(1,2,3,4,5)
– Function name is "SUM"
2020/2021
6
2020/2021
7
2020/2021
8
=SUM(a1,b1,c1) a1+b1+c1
=SUM(9,a1,b2,5,c1) 9+a1+b2+5+c1
Text Functions:
RIGHT ( <text>, <numCharacters>)
Formula View
Values View
2020/2021
10
Values View
2020/2021
11
Concatenation (&)
• Use & to combine (or concatenate) two different text values
Formula View
Values View
2020/2021
13
Values View
CONCATENATE Function
• You can use the CONCATENATE function instead of the
ampersand (&).
• The following formulas are equivalent:
=A1&B1&C1
=CONCATENATE(A1,B1,C1)
LOWER ( <textValue> )
UPPER ( <textValue> )
• LOWER converts text to lower case.
• UPPER converts text to upper case.
• Example:
Formula View
Values View
2020/2021
16
LEN ( <textValue> )
• LEN returns a numeric value equal to the number of
character in a text value (i.e. the “length” of the text
value).
• Spaces ARE included in the length.
• Example
Formula View
2020/2021 Slide 17
18
Example:
To determine if a student has passed or failed in an
exams, the formula is expressed as:
2020/2021
Using Nested IFs
The nested IF Function is simply an IF comprised of another
IF functions
21
2020/2021
22
2020/2021
23
AND
Formula View Values View
2020/2021
24
2020/2021
26
NOT Function:
• Takes ONLY ONE parameter
• Returns the "opposite" of the value of the parameter
– returns FALSE if the parameter value is TRUE
– returns TRUE if the parameter value is FALSE
2020/2021
27
• Examples:
2020/2021
Using Lookup Functions & Lookup Tables
• Lookup functions
– Allow you to use tables of data to “look up” values
and insert them in another worksheet location
• Lookup tables
– Store data and organize it into categories (compare
values)
– Can be constructed as either exact match or
approximate match lookups
• Lookup values (value you are trying to find)
– Need to match one of the compare values
– Can be used as part of a formula
28
2020/2021
Using Lookup Functions & Lookup Tables
• For Example:
=LOOKUP (A2, {0, 50, 60, 80}, {"F","C","B","A"})
29
2020/2021
Kinds of Lookups:
VLookup Function: Find an Exact Match
• Searches a lookup table and, based on what you entered,
retrieves the appropriate value from that table
30
2020/2021
HLOOKUP Function
• Searches horizontally across top row of lookup table and
retrieves the value in the column you specify
• Syntax:
31
2020/2021
32
2020/2021
34
Assignment 3.
1. What is a function in excel? Identify the main parts of an excel function.
2020/2021
35
Assignment 3 cont’’.
4. Translate the content in the following spreadsheet into an excel sheet(version:2010-and above).
i. Fill in to add up the expenses for each month (dark blue area). Fill in the sum for each expense as well
(yellow area).
ii. Fill (right/down) to add up the income for each month as well as the total from each income source
(green and light blue areas). If you used a straight formula for the last step, try using a function this
time. And, if you used a function last time, then try using a straight formula this time.
iii. Calculate and subtract the expenses from the income for each month, that is, the purple cell minus the
red cell. This calculation should be located in your cell B26 (grey cell).
2020/2021 (Inset an appropriate tittle in 2-lines for your sheet using row 1 and 2)
2020/2021 36
UGBS 008
Data Processing
5
Processing Financial Data with Microsoft Excel
Lecturer: STEPHEN.A.ADINGO
Computer Science Dept./Dept. of Distance Education
Contact Email: saadingo@ug.edu.gh
College of Education
School of Continuing and Distance Education
2
Outline
• Payment function
2020/2021
5.1 Overview of Financial Functions
• Functions that can be used to calculate values based on interest:
– Taking a loan
2020/2021 3
Understanding time value of money
• Money will increase in value over time if the money is invested and
can make more money.
4
Introduction to Interest Calculations
• When you borrow money you pay interest
Types of Interest:
• Simple interest
– Interest is paid only on the principal
– Many certificates of deposit work this way
• Compound interest
– Interest is added to the principal each period
– Interest is calculated on the principal plus any accrued interest
– Compounding can occur on different periods
• Annually, quarterly, monthly, daily Slide 5
Simple Interest vs. Compound Interest
• Simple interest always calculates interest based on the original
amount.
• For example: Interest on GH¢1,000 at 4% per year for 2
years.
– Year 1: GH¢1000 * 4% → GH¢40 in interest for the 1st year.
2020/2021 6
Simple Interest vs. Compound Interest
interest $81.00
$80.00
For a total of GH¢1,081.60 $79.00
Simple Interest
Compound Interest
2020/2021 7
Simple vs. compound interest
comparison
Year Simple Interest Compound Interest
0 $1,000 $1,000
1 $1,050 $1,050
2 $1,100 $1,102.50
3 $1,150 $1,157.62
4 $1,200 $1,215.61
5 $1,250 $1,276.28
10 $1,500 $1,628.89
20 $2,000 $2,653.30
30 $2,500 $4,321.94
$1,000 Invested at 5% return 8
Compounding Periods
• Compounded Yearly
• Compounded Quarterly
• Compounded Semi-Annually
• Compounded Monthly
• The total amount of your financial transaction will be
different based on when the interest is compounded.
2020/2021 9
Basic Financial Functions
• Present Value (PV)
– What you get/pay at the beginning of the financial transaction
• Payment (PMT)
– Payment made each period. It remains constant over life of annuity
• RATE
– Interest rate per period
• NPER
– Number of payment periods
2020/2021 10
Financial Functions-Syntax
=PV(rate, nper, pmt, [fv], [type])
2020/2021 11
Understanding the Arguments in
Financial Functions
Argument Description Argument Rules
rate Interest rate per Always divide the rate by the number of compounding
compounding period periods
Rate/ # of compounding periods
nper Number of Always multiply the number of years by the
compounding periods compounding period
# of compounding periods * # of years
pmt Periodic payments to Payment amount cannot vary
the initial sum
pv Original value of
financial transaction
fv Value at the end of the
financial transaction
type Designates when 0: Payments are made at the end of the period
payments are made 1: Payments are made at the beginning of the period
(0 is the default and is implied)
2020/2021 12
Note: When Using Financial Functions
Arguments
• Use consistent signs
– Outgoing cash ( - )
– Incoming cash ( + )
• For arguments that are zero, at least a comma must be put in the
function to maintain the argument order, unless no other non-zero
arguments follow.
=PV(.03, 2, 0, 5000, 0)
same as
=PV(.03, 2, , 5000)
2020/2021 13
5.2 Payment function
PMT(rate, nper, pv, [fv], [type])
Argument Description
rate Interest rate per compounding period
nper Number of compounding periods
pv Present value
fv Future value, residual left over after the loan is
completed. Could be a balloon payment. Can be
omitted if = 0.
15
5.3 The RATE Function
• Determines the interest rate PER PERIOD based on
– The number of periods
– The payment
– The type
Slide 16
Calculating interest rate using RATE
function
Slide 17
5.4 The NPER Function
• Determines the number of periods based on
– The interest rate
– The payment
– The type
Slide 18
Calculating loan duration using NPER
function
Slide 19
5.5 Present Value Function
PV(rate, nper, pmt, [fv], [type])
Argument Description
rate Interest rate per compounding period
Nper Number of compounding periods
pmt Payment made each period
fv Future value of the amount received today
type Designates when payments are made
Type 0 – end of period. Default.
Type 1 – beginning of period
20
Calculating present value using the PV
function
21
5.6 The IPMT and PPMT Functions
• Use IPMT to calculate the interest applicable to a
particular period
– Use the initial balance for the present value no matter the
period
Slide 22
Interest and principal payment
calculation using IPMT and PPMT
Slide 23
5. 7 Future value of money
• Simple interest is always calculated on the initial
GH¢1,000.
24
Investment calculation using FV
Function
25
5.8 Loan Amortization
• If you borrow money, the lender wants to earn
“compound” money on his/her/its investment.
• If you borrow GHS 1000 at 10%, then you won’t pay back
just GHS1,100 (unless you pay it back at once during the
initial time period).
26
Amortization table $1,000 loan, pay $100 year, 5% year interest
28
Amortization table $1,000 loan, pay $100 year, 5% year interest
Take:
=PMT(rate, nper, pv, [fv], [type]) ----Returns periodic payment
=PMT(.09/12,5*12,15000,0,0) OR =PMT(.09/12,5*12,15000)
2020/2021 30
2. Use an excel sheet to create the table below. Write an excel formula in cell B2 to
determine how many years it will take to save $12,000 if you put $10,000 into a
savings account paying 4% annual interest compounded quarterly.
=NPER(.04/4,0,-10000,12000,0) /4 OR =NPER(.04/4,,-10000,12000)/4
2020/2021 31
3. Use an excel sheet to create the table below. Write an excel formula in cell A2 to calculate
the annual interest rate of a new Chevy Cruz. The cost of the car is $18,999, and you will put
down $2,000. You will pay $350 per month for five years. The annual interest rate is
compounded monthly.
=RATE(nper, pmt, pv, [fv], [type]) ----Returns the rate per period
=RATE(5*12,-350,16999,0,0)*12 OR =RATE(5*12,-350,16999)*12
2020/2021 32
4. Use an excel sheet to create the table below .Write an excel formula in cell E2 to
determine how much money you would have to put into a CD now to have a
$5,000 down payment on a car when you graduate in 2 years. The CD pays 3%
annual interest rate compounded yearly.
=PV(rate, nper, pmt, [fv], [type]) - Returns the present value of an investment
=PV(.03,2,0,5000,0) OR =PV(.03,2,,5000)
2020/2021 33
5. Use an excel sheet to create the table below .Write an excel formula in cell F2 to determine
the value of a CD in 2 years. You plan on an initial investment of $5,000 and you will add an
additional $50 per month. The CD pays an annual interest rate of 3% compounded monthly.
=FV(rate, nper, pmt, [pv], [type]) - Returns the future value of an investment
=FV(.03/12,2*12,-50,-5000,0) OR =FV(.03/12,2*12,-50,-5000)
2020/2021 34
6. Use an excel sheet to create the table below .Write an Excel formula in cell G2 to calculate the monthly
mortgage payment for a $100,000 home with a balloon payment of $10,000. The annual interest rate is
4% compounded monthly with a loan duration of 30 years. Note: A balloon payment is an amount due at
the end of the loan and is indicated in the fv argument as a negative value .
2020/2021 35
2020/2021 36
UGBS 008
DATA PROCESSING
Lecturer: Mr. Michael K. Kolugu, Dept of Computer Sc. & Distance Education
Contact Information: mkkolugu@ug.edu.gh, mkkolugu@gmail.com
College of Education
School of Continuing and Distance Education
Department of Distance Education.
Michael K. Kolugu 1
Slide Outline
• Overview of Databases
• Importance of a Database
Michael K. Kolugu 2
Overview of Databases
• Database is a self-describing collection of related records.
• A database contains the definition of its structure referred as to a
metadata.
• The purpose of a database is to help keep track of things.
• The most commonly used type of database is the relational database.
• A relational databases store data in tables.
• A database usually has multiple related tables that contain data about
different things.
• For instance, University of Ghana’s Database will have tables on Students,
Lecturers, Programs, Departments, Colleges, etc
Michael K. Kolugu 3
Importance of a Database
• To keep track of events
• Stores complex data relationships
• Minimizes data redundancy
• Ensures proper data security
• Addresses data modification issues
• Data can be shared and edited by several users simultaneously
• Data entry is faster and easier
• Data can be viewed and sorted in many ways
Michael K. Kolugu 4
Basic Database Terminologies – (1)
• Entity
– An entity is something of importance to a user that needs
to be represented in a database. An entity represents one
theme or topic.
Michael K. Kolugu 5
Basic Database Terminologies – (2)
• Relation
– A relation is a two-dimensional table that has specific
characteristics. The table dimensions, like a matrix,
consist of rows and columns.
Michael K. Kolugu 6
Basic Database Terminologies – (3)
• Relation
–
Michael K. Kolugu 7
Basic Database Terminologies – (4)
• Attribute
– An attribute is a characteristic of an entity. Thus,
attributes describe an entity.
Michael K. Kolugu 8
Basic Database Terminologies – (5)
• Record
–A record is an instance of an entity. It also shows
the occurrence of an entity. Records are
represented by rows in a relation. Example of a
record for a student entity is:
instances
Michael K. Kolugu 9
Basic Database Terminologies – (6)
• Key
–A key is one (or more) column(s) of a relation that is
(are) used to identify a row.
Michael K. Kolugu 10
Basic Database Terminologies – (7)
• Primary key:
– key is a unique attribute chosen distinctively identify
records in a relation or table. If you know the value of the
primary key, you will be able to identify a single row. For
instance, StudentID is a unique attribute to identify every
student.
Michael K. Kolugu 11
Basic Database Terminologies – (8)
• Foreign key:
– is a primary key from one table placed into another table
in order to establish a relationship between the two
tables. The key is called a foreign key in the table that
received the key.
Michael K. Kolugu 12
Basic Database Terminologies – (9)
• Foreign key:
–
Michael K. Kolugu 13
Basic Database Terminologies – (10)
• Candidate key:
• Composite key:
–Is a key that contains two or more attributes use to
uniquely identify a record in a table.
Michael K. Kolugu 14
Basic Database Terminologies – (11)
• Surrogate Key:
–is a unique, numeric value that is added to a table
to serve as temporal identify for records in a table.
–Surrogate key values have no meaning to users and
are usually hidden on forms, queries, and reports.
–A surrogate key is often used in place of a
composite key.
Michael K. Kolugu 15
Basic Database Terminologies – (12)
• Relationships:
Michael K. Kolugu 16
Basic Database Terminologies – (13)
• Referential integrity:
–Refers to a set of rules that a database enforces to
maintain consistency between related tables when
you update data in a database.
–Referential integrity states that every value of a
foreign key must match a value of an existing
primary key.
Michael K. Kolugu 17
Basic Database Terminologies – (14)
Student Table
• Table/Entity Name:
– Student
• Columns/Attributes/Fields:
– StudentID, Fname, Sname, DoB, Contact.
• Key
– StudentID (a primary key)
Michael K. Kolugu 18
Basic Database Terminologies – (15)
• Table/Entity Name:
– Registration
• Columns/Attributes/Fields:
– StudentID, CourseCode, Date_of_reg.
• Key
– StudentID (foreign key), CourseCode (Primary key)
Course Table
Michael K. Kolugu 19
Basic Database Terminologies – (16)
• Table/Entity Name:
– course
• Columns/Attributes/Fields:
– CourseCode, CourseTitle, Credit, Department.
• Key
– StudentID (foreign key), CourseCode (foreign key)
Registration Table
Michael K. Kolugu 20
Basic Database Terminologies – (17)
Student Table
Course Table
Registration Table
Michael K. Kolugu 21
Introduction to Microsoft Access
• Microsoft Access:
– is a database management system (DBMS) use to create,
process, and administers databases.
– it accepts data from other sources such as Excel, SQL etc. for
manipulation.
Michael K. Kolugu 22
Introduction to Microsoft Access – (1)
Michael K. Kolugu 23
How to create an Access Database
Michael K. Kolugu 24
How to create an Access Database – (1)
– Method II:
• Press Windows key and R together from the keyboard.
Alternatively, type RUN in start-up menu search box
Michael K. Kolugu 25
How to create an Access Database – (2)
Michael K. Kolugu 26
UGBS 008
DATA PROCESSING
Lecturer: Mr. Michael K. Kolugu, Dept of Computer Sc. & Distance Education
Contact Information: mkkolugu@ug.edu.gh, mkkolugu@gmail.com
College of Education
School of Continuing and Distance Education
Department of Distance Education.
Michael K. Kolugu 1
Slide Outline
• Defining a Table
• Table Relationships
Michael K. Kolugu 2
Overview of Access Tables
• They are the object that forms the structure and hold
data on entities in databases.
Michael K. Kolugu 3
1 of 6
Defining a Table
Michael K. Kolugu 4
2 of 6
Defining a Table
Michael K. Kolugu 5
3 of 6
Defining a Table
Michael K. Kolugu 6
4 of 6
Defining a Table
Michael K. Kolugu 7
5 of 6
Defining a Table
Michael K. Kolugu 9
Creating a Table in Datasheet View
Michael K. Kolugu 11
Creating a Table in Datasheet View
Michael K. Kolugu 12
Creating a Table in Datasheet View
– In the Add & Delete group on the Fields tab, click the button
for the type of field you want to add to the table (for
example, click the Text button), and then type the field
name. Repeat this step to add all the necessary fields to the
table.
Michael K. Kolugu 13
Creating a Table in Datasheet View
Michael K. Kolugu 14
Creating a Table in Datasheet View
– In the first row below the field names, enter the value for
each field in the first record, pressing the Tab or Enter key to
move to the next field.
Michael K. Kolugu 15
Creating a Table in Datasheet View
– After entering the value for the last field in the first record,
press the Tab or Enter key to move to the next row, and then
enter the values for the next record. Continue this process
until you have entered all the records in the table.
Michael K. Kolugu 16
Creating a Table in Datasheet View
Michael K. Kolugu 18
Creating a Table in Datasheet View
Michael K. Kolugu 19
Creating a Table in Datasheet View
– The data type determines what field values you can enter in the
field.
Michael K. Kolugu 20
Creating a Table in Datasheet View
Michael K. Kolugu 21
Creating a Table in Datasheet View
– You can also use the Click to Add column in the table datasheet
to add new fields.
Michael K. Kolugu 22
Creating a Table in Datasheet View
• Adding new columns in Datasheet View.
Michael K. Kolugu 23
Creating a Table in Design View
Michael K. Kolugu 24
Creating a Table in Design View
Michael K. Kolugu 25
Creating a Table in Design View
• Defining Fields:
– Enter values for the Field Name, Data Type, and Description
field properties, and
– then select values for all other field properties in the Field
Properties pane.
Michael K. Kolugu 26
Creating a Table in Design View
• Defining Fields:
– Identify all the fields needed to produce the required
information. Organize each piece of data into its smallest useful
part
Michael K. Kolugu 28
Creating a Table in Design View
• Naming Fields and Objects
– To name fields and objects, the following steps are recommended.
– Provide a name for each field, table, and other object in an Access database
– Assigning Field Data Types
– Each field must have a data type
– Data types are assigned automatically by Access or specifically by the table
designer
– The data type determines what field values you can enter in the field and what
other properties the field will have
Michael K. Kolugu 29
Creating a Table in Design View
Michael K. Kolugu 30
Adding Records To a Table
• Then, start entering the data from the first data item in the
first record, then the second item and so on.
• Move the next record and do same until all records are
entered.
Michael K. Kolugu 31
Adding Records To a Table
Michael K. Kolugu 32
Table Relationship
• When you join tables that have a common field, you can
extract data from them as if they were one larger table.
Michael K. Kolugu 33
Table Relationship
Michael K. Kolugu 34
Table Relationship
Michael K. Kolugu 35
Table Relationship
Michael K. Kolugu 36
Table Relationship
Michael K. Kolugu 37
NEXT LECTURE:
Michael K. Kolugu 38
UGBS 008
DATA PROCESSING
Lecturer: Mr. Michael K. Kolugu, Dept of Computer Sc. & Distance Education
Contact Information: mkkolugu@ug.edu.gh, mkkolugu@gmail.com
College of Education
School of Continuing and Distance Education
Department of Distance Education.
Michael K. Kolugu 1
Slide Outline
• Creating forms
– Using Form View
Michael K. Kolugu 2
Overview of Access Forms
• As a reminder: Access is comprised of 7 components for data
processing, namely:
– Tables
– Relationships
– Forms
– Queries
– Reports
– Micros
– Modules
Michael K. Kolugu 3
Overview of Access Forms
Michael K. Kolugu 4
Creating forms
Michael K. Kolugu 5
Creating forms – Using Form View
Michael K. Kolugu 6
Creating forms – Using Form Design View
• To create a form using Form Design View:
– Click the Create Tab.
– Go to the Forms Group and click the Form Design button to open
the:
• Form Design window.
• Form Design Tools: Namely
– Design, Arrange, Format.
– Click on the Design tool if it is currently not active and then click on
Add Existing Fields button in the Tools Group to display the Field List
Task Pane.
Michael K. Kolugu 7
Creating forms – Using Form Design View
• To create a form using Form Design View: - (continues)
– Click on the “Show All Tables” in the Field List Task Pane to display the list of
tables in the database.
– Click the plus (+) sign next to the Table you wish to use on the Form to show
the Field Names in the table.
– Drag a Field from the Table to the Design Window and label it
using the field that will appear to the left.
– Repeatedly drag all the needed fields to the Design window. Hold
the shift key to drag multiple select and drag multiple fields.
Michael K. Kolugu 8
Creating forms - Using Form Wizard
Michael K. Kolugu 9
Creating forms - Using Form Wizard
Michael K. Kolugu 10
Modifying Access Forms
Michael K. Kolugu 11
NEXT LECTURE:
Michael K. Kolugu 12
UGBS 008
DATA PROCESSING
Lecturer: Mr. Michael K. Kolugu, Dept of Computer Sc. & Distance Education
Contact Information: mkkolugu@ug.edu.gh, mkkolugu@gmail.com
College of Education
School of Continuing and Distance Education
Department of Distance Education.
Michael K. Kolugu 13
Slide Outline
• Creating Queries
• Creating Reports
Michael K. Kolugu 14
Overview of Access Queries
• Query is an Access object for reviewing, adding, changing, or
deleting data from Tables in a database.
– A query allows specific questions to be asked about data that would be
difficult to answer just by looking at the data.
– Queries also allows Data:
– Filtration
– Calculation
– Summarization.
– Queries can be used to automate setting data management tasks to be
reviewed and committed to the database.
Michael K. Kolugu 15
Overview of Access Queries
Michael K. Kolugu 16
Creating Queries
Michael K. Kolugu 17
Creating Queries
– Select the Tables/Queries you want to use from the show table dialog window
– Double click on the fields from the Table that you required from the
Table/Query selected in the previous step. Repeat this step until all desire fields
are selected.
– Click on the Run button under the design Tab in the ribbon.
– Add other query options such as sort, criteria, show and OR for specific results.
Michael K. Kolugu 18
Sorting Data in a query
Michael K. Kolugu 19
Sorting Data in a query
Michael K. Kolugu 20
Filtering Data in a query
– An applied filter is not available the next time you run the query
or open the form (unless it has been saved)
Michael K. Kolugu 21
Filtering Data in a query
Michael K. Kolugu 22
Defining Queries Record Selection Criteria
Michael K. Kolugu 23
Overview of Microsoft Access Report
Michael K. Kolugu 24
Creating Reports
Michael K. Kolugu 25
Creating Reports
Michael K. Kolugu 26
Creating Reports
• To modify a report:
– Open the Report in either the Report Layout or Design View by clicking
the View button on the ribbon.
– In the Tools Group, click the Property Sheet button
– In the Property Sheet window, select Report from the Selection type list.
– Select the Format tab, if necessary.
– Modify the Report by either removing or adding new Fields, changing
Field sizes, fonts, style etc.
Michael K. Kolugu 28
NEXT LECTURE:
MS Access Forms
Michael K. Kolugu 29
Question & Answers
?
Michael K. Kolugu 30
UGBS 008
DATA PROCESSING
Lecturer: Mr. Michael K. Kolugu, Dept of Computer Sc. & Distance Education
Contact Information: mkkolugu@ug.edu.gh, mkkolugu@gmail.com
College of Education
School of Continuing and Distance Education
Department of Distance Education.
Michael K. Kolugu 1
Slide Outline
• Creating Queries
• Creating Reports
Michael K. Kolugu 2
Overview of Access Queries
• Query is an Access object for reviewing, adding, changing, or
deleting data from Tables in a database.
– A query allows specific questions to be asked about data that would be
difficult to answer just by looking at the data.
– Queries also allows Data:
– Filtration
– Calculation
– Summarization.
– Queries can be used to automate setting data management tasks to be
reviewed and committed to the database.
Michael K. Kolugu 3
Overview of Access Queries
Michael K. Kolugu 4
Creating Queries
Michael K. Kolugu 5
Creating Queries
– Select the Tables/Queries you want to use from the show table dialog window
– Double click on the fields from the Table that you required from the
Table/Query selected in the previous step. Repeat this step until all desire fields
are selected.
– Click on the Run button under the design Tab in the ribbon.
– Add other query options such as sort, criteria, show and OR for specific results.
Michael K. Kolugu 6
Sorting Data in a query
Michael K. Kolugu 7
Sorting Data in a query
Michael K. Kolugu 8
Filtering Data in a query
– An applied filter is not available the next time you run the query
or open the form (unless it has been saved)
Michael K. Kolugu 9
Filtering Data in a query
Michael K. Kolugu 10
Defining Queries Record Selection Criteria
Michael K. Kolugu 11
Overview of Microsoft Access Report
Michael K. Kolugu 12
Creating Reports
Michael K. Kolugu 13
Creating Reports
Michael K. Kolugu 14
Creating Reports
• To modify a report:
– Open the Report in either the Report Layout or Design View by clicking
the View button on the ribbon.
– In the Tools Group, click the Property Sheet button
– In the Property Sheet window, select Report from the Selection type list.
– Select the Format tab, if necessary.
– Modify the Report by either removing or adding new Fields, changing
Field sizes, fonts, style etc.
Michael K. Kolugu 16
Questions & Answers
Michael K. Kolugu 17