ACCESS 2007 PAMPHLET Print
ACCESS 2007 PAMPHLET Print
ACCESS 2007 PAMPHLET Print
ADDRESS: ……………………………………………………………………………………………………………………
CONTACT: …………………………………………………………………………………………………………………..
0
Compiled by Konneh Jr
GET STARTED WITH MICROSOFT ACCESS 2007
Microsoft Office Access is a database system made for individuals and small-to-medium-
sized businesses who want to capture, manage, and report data in a professional way. It is
a member of the Microsoft Office Suite of applications which combines the relational
Microsoft Jet Database Engine with a graphical user interface and software-development
tools. It is known for being a leading option for professional data managers who require
advanced ways to report project data. Since Microsoft Access does not require complicated
programming, regular people can create powerful data bases in advanced ways with
Microsoft Access.
EASY TO INSTALL AND USE — Access gives data managers a fully functional, relational
database management system in minutes. Like many other Microsoft applications, Access
contains Wizards that walk you through each step of the way. The user interface is
intuitive; accelerating data information retrieval.
EASY TO INTEGRATE – Access works well with many of the developing software
programs based in Windows. It also can be used in the front-end as back-end tables with
products like Microsoft SQL Server and non-Microsoft products like Oracle and Sybase.
WIDELY POPULAR — Microsoft Access is the most popular desktop database system in
the world.
MULTI-USER SUPPORT – About ten users in a network can use an Access application.
ONE FILE — All the information from your database is saved into one file. This limits
options and how you choose utilize data; slowing down reports, queries, and forms. Its
performance becomes slow as the user scales data size. Multimedia data can use up MS
Access limited space quickly.
1
Compiled by Konneh Jr
STATIC-FRIENDLY — it’s difficult to publish files a part from static files.
Multi-user limited — Technical limit is 255 concurrent users, but real world limit is 10 to
80 (depending on type of application).
1. Determine the purpose of your database (it will help you decide what information to
include and not to include, and how to arrange your fields in a better way
2. Include important information only (it will make your database somehow readable
and lot easier to manipulate with)
3. Reviewing existing files that can provide information necessary for your database.
(Example; paper files, electronic files)
4. Plan your fields in your table ahead of time (meaning, list all the fields you need to
include in your database before you start access e.g. ID NO, FIRST NAME, LAST
NAME)
Office Button
2
Compiled by Konneh Jr
HOW TO CREATE A BLANK DATABASE
➢ Click blank database from the top left hand window
➢ Click to file name, type the name of your file (e.g student Personal Report)
➢ Click to the folder icon and find the name of your folder where you want to save your file
➢ Click on the folder then you click to open
➢ Click to create
Type
in the
Click to Blank
file
Database
name
Click
to
create
3
Compiled by Konneh Jr
Quick Access
Office INSIDE THE ACCESS WINDOW
Toolbar Minimize Maximize Close
Button
Tabs
Click to
create Tab
After clicking to table design, your window will appear the same like the one shown window
below
4
Compiled by Konneh Jr
The Navigation Pane
5
Compiled by Konneh Jr
UNDERSTANDING DATA TYPES
In Access, you use data types to specify the type of data each field can capture.
DATA TYPES
6
Compiled by Konneh Jr
CHANGE FROM DATASHEET VIEW TO QUERY DESIGN VIEW
After you run a query, you can easily change back to Query Design view and make
modifications to your query or create a new query.
1.
A table is a set of columns and rows. Each column is called a field. Within a table, each field
Must be given a name and no two fields can have the same name. Each value in a field
represents a single category of data. For example, a table might have three fields: Last
Name, First Name, and Phone Number. The table consists of three columns: one for last
name, one for first name, and one for phone number. In every row of the table, the Last
Name field contains the last name, the First Name field contains the first name, and the
Phone Number field contains the phone number. Each row in a table is called a record.
7
Compiled by Konneh Jr
All of the data in a table should refer to the same subject . For example, all of the data in the
Employees table should refer to employees, all of the data in the Students table should
refer to students, and all of the data in the Courses table should refer to courses.
NAME AND SAVE A TABLE
8
Compiled by Konneh Jr
DATABASE OBJECT
An object is an item such as; TABLES, QUERIES, FORMS, REPORTS, MODULES made up
of many elements and can be created, selected, and manipulated as a unit. Below are few of
the most commonly used objects;
➢ TABLES: In access, data is stored in tables. A table is set of columns and rows, with each
column referred to as a field. Each value in a field represents a single type of data. Each
row of a table is referred to as a record
➢ QUERIES: You use queries to retrieve specific data from your database and to answer
questions about your data. For example, you can use a query to find the names of the
employees in your database who live in a particular state
➢ FORMS: Forms give you the ability to choose the format and arrangement of fields. You
can use a form to enter, edit and display data
➢ REPORTS: Reports organize or summarize your data so you can print it or view it
onscreen you often use reports when you want to analyze your data or present your data
to others
9
Compiled by Konneh Jr
EXERCISE TWO (2)
The database below displayed the payroll of workers at the BANK OF SIERRA
LEONE in Freetown. Let the field name be NAMES OF WORKERS, GRADE,
WORKERS HOURS, and ALLOWANCE
WORKE NAMES OF GRADE WORKERS ALLOWA
RS ID WORKERS HOURS NCE
001 JUMA A 10 300,000
002 MUSA B 13 480,000
003 KARMUH A 18 350,000
004 MOHAMED C 9 500,000
005 FATMATA B 7 600,000
006 JENNEH A 10 300,000
007 KADIJA C 12 480,000
008 ABU B 6 300,000
009 ISATA A 10 480,000
0010 FOMBA C 9 350,000
DATA DATA TYPE DATA TYPE DATA TYPE DATA TYPE
TYPE
Questions
➢ Calculate the staff basic salary
➢ Calculate the staff gross salary
➢ Calculate the total amount of workers
QUESTION ONE (1) PROCEDURES OR STEPS
➢ Click to create tab
➢ On the right hand side of the window
on the last ribbon click on QUERY
WIZARD
Your window will appear the same
as the one shown below
10
Compiled by Konneh Jr
➢ Click to ok…..after clicking to ok your window will appear the same as the one
shown below
➢ Click on the double greater than sign after that you click to next
➢ Click to next again
➢ Click to modify QUERY DESIGN
➢ Inside of the simple query wizard dialog box makes sure you delete QUERY ONLY
➢ Replace it with solution
➢ Click to finish
Your window will appear the same as the one shown below
11
Compiled by Konneh Jr
➢ Firstly you click to the next blank field at
➢ The at the upper top of the window on query setup ribbon click to builder
After clicking to builder your window will appear the same as the one shown below
Inside of the expression builder dialog box
key in the following formula
➢ BASIC SALARY:=
➢ Click ON WORKERS HOURS click to
PASTE
➢ Click on the MULTIPLICATION SIGN *
➢ Click to ALLOWANCE click to PASTE
➢ For you to arrive at your final answer at
the top left corner of the window click
to RUN
➢ Click on the save icon
QUESTION TWO (2) PROCEDURES OR STEPS
➢ On the left hand side of the window click the drop down arrow to view
➢ Click to design view
YOUR WINDOW WILL APPEAR THE SAME AS THE ONE SHOWN BELOW
12
Compiled by Konneh Jr
QUESTION THREE (3) PROCEDURES OR STEPS
➢ Click on BANKOF SIERRA LEONE SOLUTION query
➢ On the left hand side of the window click to VIEW
➢ Click to PIVOTAL TABLE view
After doing do your window will appear the same as the one shown below
➢ Drag and drop all the field name on the left hand side of the window
➢ Click to names of workers
➢ On the last ribbon which is the TOOLS RIBBON
➢ Click the drop down arrow to AUTO CALCULATION
➢ Click on COUNT
➢ Click the save icon
MODIFY A TABLE
After you create a table, you may need to modify it. You can delete columns, insert
columns, or move columns.
DELETE COLUMNS
The Delete option permanently deletes columns and all the data contained in them.
You cannot undo a column delete.
TO DELETE COLUMNS:
1. Click and drag to select the
columns you want to delete.
2. Activate the Datasheet tab.
3. Click Delete in the Fields &
Columns group. A prompt
appears.
4. Click Yes. Access deletes the
columns you selected.
13
Compiled by Konneh Jr
INSERT COLUMNS
The Insert option inserts a
column before the selected
column.
14
Compiled by Konneh Jr
EXERCISE FOUR (4)
➢ Prepare a database name CENSUS
➢ Create two tables one at a time, save the first one as Present Census Records and the second
one as Past Census Records
QUESTIONS
CITY 2 DEATH DATE 2
1. Calculate the DEATH RATE
RATE 2
DIFFERENCE for each city
FREETOWN 4000 31/1/2004 2. Calculate the TOTAL DEATH
BOMBALI 1500 29/2/2004 RATE for each city
3. Calculate the NUMBER OF DAYS
TONKOLI 1000 20/3/2004
BETWEEN the two tables
KENEMA 2000 12/9/2004 4. Create a FORM for each of the two
BO 3000 15/11/2004 tables
PUJEHUN 150 24/12/2004 5. Generate a REPORTS for the table
DATA TYPE DATA DATA TYPE called PRESENT CENSUS and
TYPE choose a suitable style and layout
and save then save it.
15
Compiled by Konneh Jr
QUESTION ONE (1) PROCEDURES OR STEPS
TO CALCULTE THE DEATH RATE DIFFERENCE FOR EACH CITY
➢ Click to create
➢ Click to QUERY DESIGN
➢ After clicking to QUERY DESIGN your window will appear the same as the one shown
below
16
Compiled by Konneh Jr
After click to builder your window will appear the same as the one shown below
➢ Inside the EXPRESSION BUILDER DIALOG BOX you enter the formula
➢ DEATH RATE DIFF:=
➢ Double click to tables
➢ Click on PRESENT CENSUS RECORDS
➢ Click to DEATH RATE click to PASTE
➢ On the expression builder dialog box click on the SUBTRACTION SIGN -
➢ Click to PAST CENSUS RECORDS
➢ Click to DEATH RATE 2
➢ Click to PASTE
➢ Click OK
➢ For you to arrive at your final answer on the left hand side of the window, click to RUN
➢ Click the save icon
➢ QUESTIONS TWO (2) PROCEDURES OR STEPS
➢ TO CALCULATE THE TOTAL DEATH RATE FOR EACH CITY
➢ After calculating the DEATH RATE DIFFERENCE on the left hand side of the window
click to DESIGN VIEW
➢ Click to the next blank field
➢ On the query setup ribbon click to BUILDER
➢ Enter the formula below
➢ TOTAL DEATH RATE:=
➢ Double click to tables
➢ Click to PRESENT CENSUS RECORDS
17
Compiled by Konneh Jr
➢ Click to DEATH RATE
➢ Click to PASTE
➢ On the expression builder dialog box click on the ADDITION SIGN +
➢ Click to PAST CENSUS RECORDS
➢ Click to DEATH RATE 2
➢ Click to PASTE
➢ Click OK
➢ For you to arrive at your final answer click to RUN
➢ Click the save icon
➢ QUESTION THREE (3) PROCEDURES OR STEPS
➢ TO CALCULATE THE NUMBER OF DAYS BETWEEN THE TWO TABLES (WHICH IS THE
DURATION)
➢ On the left hand side of the window, click the drop down arrow to view
➢ Click to DESIGN VIEW
➢ Click to the next blank field
➢ On the query setup ribbon click to BUILDER
➢ Enter the formula below
➢ DURATION:=
➢ Double click to tables
➢ Click to PAST CENSUS RECORDS
➢ Click to DATE 2
➢ Click to PASTE
➢ On the expression builder dialog box click on the SUBTRACTION SIGN -
➢ Click to PRESENT CENSUS RECORDS
➢ Click to DATE
➢ Click to PASTE
➢ Click OK
➢ For you to arrive at your final answer on the left hand side of the window click to RUN
➢ Click to the save icon
➢ QUESTION FOUR (4) PROCEDURES OR STEPS
➢ TO CREATE A FORM FOR THE EACH OF THE TWO TABLES
➢ Click to create tab
➢ On the forms ribbon, click to more forms
➢ In the dialog box that appear click the drop down arrow
➢ Choose PRESENT CENSUS RECORDS
➢ Click the double greater than sign >>
➢ Click next
18
Compiled by Konneh Jr
➢ Click next
➢ On the style option
➢ Choose MEDIAN
➢ Click next
➢ At the final stage, click in front of the present census records
➢ Type form (make sure don’t delete nothing )
➢ Click to modify the forms wizard
➢ Click finish
➢ On the left hand side of the window, click the drop down arrow to view
➢ Click to form view
➢ Repeat the same steps to create form for the other table PAST CENSUS RECORDS
➢
➢ QUESTION FIVE (5) PROCUDURES OR STEPS
➢ TO GENERATE A REPORT FOR THE TABLE CALLED PRESENT CENSUS RECORDS
➢ Click to create tab under the report ribbon
➢ Click to REPORT WIZARD
➢ In the report wizard dialog box click the drop down arrow
➢ Choose PRESENT CENSUS RECORDS
➢ Click the double greater than sign >>
➢ Click next
➢ Click next
➢ Click next
➢ Click next
➢ On the style option choose MEDIAN
➢ Click next
➢ Click in front of PRESENT CENSUS RECORDS (make sure you don’t delete nothing)
➢ Type REPORT
➢ Click to modify report wizard
➢ On the left hand side of the window, click the drop down arrow to view
➢ Click to report view
➢ Click to FINISH
➢ Click the save icon
19
Compiled by Konneh Jr
EXERCISE FIVE (5)
Prepare a database for STILL IGNITING CAR CENTRE let the field name be ID NO,
FIRST NAME, LAST NAME, VEHICLE BRAND, VEHICLE NO, VEHICLE COLOUR, and
DESCRIPTION.
ID NO FIRST LAST VEHICLE VEHICLE VEHICLE DESCRIPTION
NAME NAME BRAND NO COLOUR
1 JUMA KONNEH JEEP AJK 301 GREEN
2 MUSA KONNEH CAMRY MUS 241 BLUE
3 KARMUH BANGURA BENZ KAR 387 WHITE
4 SERRAY JABBIE TOYATA MAR 486 RED
5 FATMATA CONTEH PRADO FAT 321 BLACK
6 ABUBAKARR DUMBUYA BUGATTI ABU 476 BLUE
7 SULIAMAN JALLOH BANZ SUL 342 GREEN
DATE DATE TYPE DATE DATE DATE DATE DATE TYPE
TYPE TYPE TYPE TYPE TYPE
RETRIEVING A DATA
You can use an Access query to retrieve a single column of data. Instead of choosing the
tablename.* option on the Field line in Query Design view, choose the name of the field you
want to retrieve.
TO RETRIEVE A SINGLE COLUMN:
1. Open a table or query in Query Design view.
2. Choose the field name you want to display in the field line.
3. Click the Run but ton. Access retrieves the column you chose.
20
Compiled by Konneh Jr
RETRIEVE MULTIPLE COLUMNS
You can use an Access query to retrieve multiple columns of data. On the Field line in
Query Design view, choose the field name of each field you want to retrieve in the order
you want to
retrieve them.
TO RETRIEVE MULTIPLE COLUMNS:
1. Open a table or query in Query Design view.
2. Choose the field names you want to retrieve in the order you want to retrieve them.
3. Click the Run but ton. Access retrieves the columns you chose.
EXERCISE SIX(6)
Prepare a database for FAETECH. Let the field name be STUDENT ID, FIRST NAME, LAST
NAME, GENDER, PROGRAMME, TELEPHONE and ADDRESS
21
Compiled by Konneh Jr
IMPORTING DATA IN ACCESS
You can import a table from EXCEL to ACCESS
STEPS ON IMPORTING A DATA FROM EXCEL TO ACCESS
➢ Click to EXTERNAL DATA TAB
➢ On the import ribbon
➢ Click to EXCEL
➢ In the dialog box that appear click to browse
➢ Click to the folder that you save your file (excel)
➢ Click on the file
➢ Click to open
➢ Click OK
➢ Click to first contain column headings
➢ Click next
➢ Click next
➢ Click next
➢ Click to import table and give a name for the table
➢ Click on the option I WOULD LIKE A WIZARD TO ANALYZE MY TABLE AFTER
IMPORTING THE DATA
➢ A dialog box will appear that display a information
➢ Click to NO
➢ Click to save import step
➢ Inside of the save as row give a file
➢ Click to SAVE IMPORT
EXERCISE SEVEN (7)
Prepare a database for K-SQUARE ENTERTAINMENT. Let the field name be ARTIST ID, FIRST
NAME, LAST NAME, LEVEL, GENDER, and ADDRESS
ARTIST FIRST LAST NAME GENDER ADDRESS
ID NAME
001 ABU CONTEH MALE 12 PEN ROAD
002 FATMATA KONNEH FEMALE 44 MOUSE ROAD
003 ISATA JALLOH FEMALE 23 PRINTER ROAD
004 GIBRIL BANGURA MALE 45 FAN JUNCTION
005 RICHARD DUMBUYA MALE 67 RULER ROAD
006 MARIAMA KALOKOH FEMALE 11 BAG JUNCTION
007 SULIAMAN JALLOH MALE 45 PENCIL ROAD
DATA DATA TYPE DATA TYPE DATA TYPE DATA TYPE
TYPE
22
Compiled by Konneh Jr
EXERCISE EIGHT (8)
Create two tables below, save the first one as FAETECH GRADES and the second one as
STUDENT INFORMATION
THE FIRST TABLE (FAETECH GRADES
QUESTIONS
1. Calculate the TOTAL and AVERAGE for the entire students in the table called FAETECH
GRADES and save it as AVERAGE GRADES
23
Compiled by Konneh Jr
2. Calculate the DURATION for the table called STUDENT INFORMATION and assuming the
closing date is 29/10/2006
3. Filter the student according to gender (in the student information table)
QUESTION ONE (1) PROCEDURES OR STEPS
TO CALCULATE THE TOTAL
➢ Click to create tab on the right hand side of the window
➢ Click to QUERY WIZARD
➢ Click to OK
➢ Click the drop down arrow inside of the simple query wizard dialog box
➢ Click the drop down arrow choose FAETECH GRADES
➢ Click the double greater than sign >>
➢ Click next
➢ Click next
➢ Click infront of the FAETECH GRADES QUERY
➢ Backspace everything (delete all the text)
➢ Replace it with AVERAGE GRADES
➢ Click to modify the query design
➢ Click to finish
➢ Click the save icon
➢ Use the tab key to go the next blank field
➢ Click to builder
➢ Key in the formula into the expression builder dialog box
➢ TOTAL GRADES:=
➢ Add all the following subject
➢ By clicking to SOFTWARE click to paste click to the ADDITION SIGN +
➢ Click to HARDWARE click to paste click to the ADDITION SIGN +
➢ Click to GRAPHIC DESIGN click to paste click to the ADDITION SIGN +
➢ Click to CCNA click to paste click to the ADDITION SIGN +
➢ Click to INTERNET COMMUNICATION click to paste
➢ Click to ok, for you to arrive at the final answer
➢ At the extreme left hand side of the window click to RUN
➢ Click the save icon
24
Compiled by Konneh Jr
➢ For you to arrive at your final answer, click to RUN
➢ Click the save ICON
QUESTION TWO (2) PROCEDURES OR STEPS
TO CALCULATE THE DURATION FOR THE TABLE CALLED STUDENT INFORMATION
AND ASSUMING THE CLOSING THE CLOSING DATE IS 29/10/2006
➢ Open the student information table
➢ Just after the community field
➢ Double click on ADD NEW FIELD
➢ Rename it with CLOSING DATE
➢ Fill in the date below through the column
➢ 29/10/2006
➢ Click to create tab again
➢ Click to QUERY WIZARD
➢ Click to OK
➢ Click the drop down arrow inside of the simple query wizard dialog box
➢ Click the drop down arrow choose student information
➢ Click the double greater than sign >>
➢ Click next
➢ Click infornt of the student information query
➢ Backspace the query only replace it with solution
➢ Click to modify QUERY DESIGN
➢ Click to finish
➢ Click to the save icon
➢ Use the tab key to take you to the next blank field
➢ Click to builder
➢ Key in the following formula into the expression builder dialog box
➢ DURATION:=
➢ Click on closing date click to PASTE
➢ Click on the SUBTRACTION SIGN –
➢ Click on HIRED DATE
➢ Click to PASTE
➢ Click to OK
➢ For you to arrive at your final answer, on the extreme end of the window click to RUN
➢ Click to the save icon
➢
QUESTION THREE (3) PROCEDURES OR STEPS
TO FILTER THE STUDENT ACCORDING TO GENDER
➢ Open the student information table
➢ Click the drop down arrow infront of gender
➢ Choose A-Z sort smallest to largest
➢
25
Compiled by Konneh Jr
EXERCISE NINE (9)
Prepare a database for KISSY COMMUNITY. Let the field name be VEHICLE TYPE, NO
PLATE, COLOUR, DESTINATION, LICENING NO, DATE ISSUE, and DESCRIPTION.
VEHICLE NO COLOUR DESTINATION LICENING DATE DESCRIPTION
TYPE PLATE NO ISSUE
FERRARI TMI BLACK KISSY 001 01/01/14 PHOTO
050
FORD ELF RED KISSY 002 15/02/13 PHOTO
065
RANGE CMJ YELLOW SHELL 003 01/02/12 PHOTO
ROVER 765
CARDELAC PAF WHITE UPGUN 004 25/11/11 PHOTO
234
LAND EFD GREEN WELLINGTON 005 31/12/10 PHOTO
ROVER 232
PRADO SAP BLACK LUMLEY 006 31/01/09 PHOTO
222
BENZ EDF BLUE WATERLOO 007 2/04/12 PHOTO
322
DATA DATA DATA DATA TYPE DATA DATA DATA TYPE
TYPE TYPE TYPE TYPE TYPE
26
Compiled by Konneh Jr
Since it is possible to calculate whether the student passed or failed on the basis of the
percentage result, we would be storing redundant data. Creating a query would be a much
better option. However, we need to display whether the result is a certificate or no
certificate, so simply entered a criteria to filter out all result above or below a certain
percentage is not going to do the job: this would only provide us with a list of passes or a
separate list of fails. We just want one column stating certificate or no certificate
A great way of doing this task would be to use IIF function as a new calculated column
within the query. This will enable us to display a value indicating whether the exam has
been passed or failed.
PROCEDURES OR STEPS
DATA DATA TYPE DATA TYPE DATA DATA TYPE DATA TYPE DATA DATA
TYPE TYPE TYPE TYPE
27
Compiled by Konneh Jr
CALCULATE:
➢ 20% of weekly allowance
➢ 25% of annual salary
➢ Net salary
➢ Link any two tables
➢ Import one query one report
➢ Create a relationship
QUESTION ONE (1) PROCEDURES OR STEPS
TO CALCULATE 20% OF WEEKLY ALLOWANCE
➢ Click to create tab on the right hand side of the window
➢ Click to QUERY WIZARD
➢ Click to OK
➢ Click the drop down arrow inside of the simple query wizard dialog box
➢ Click the drop down arrow choose GREATNESS INVESTMENT
➢ Click the double greater than sign >>
➢ Click next
➢ Click next
➢ Click infront of the greatness investment query
➢ Backspace the query only (replace it with solution)
➢ Click to modify the query design
➢ click the save icon
➢ use the tab key to take you to the next blank field (weekly allowance)
➢ click on WEEKLY ALLOWANCE
➢ click to builder
➢ backspace the two bracket sign
➢ place the infront of the weekly allowance
➢ key in this sign :=20*
➢ click on BASIC SALARY
➢ click to PASTE
➢ click OK
➢ click to RUN
➢
➢ QUESTION TWO (2) PROCEDURES OR STEPS
➢ TO CALCULATE 25% OF ANNUAL SALARY
➢ click the drop down arrow to view
➢ choose DESIGN VIEW
➢ click to ANNUAL SALARY
➢ click to BUILDER
➢ backspace the two bracket sign
➢ place the cursor infront of the annual salary
➢ key in this sign :=25*
➢ click on BASIC SALARY
28
Compiled by Konneh Jr
➢ click to PASTE
➢ click OK
➢ click to RUN
➢ QUESTION THREE (3) PROCEDURES OR STEPS
TO CALCULATE THE NET SALARY
➢ click the drop down arrow to view
➢ choose DESIGN VIEW
➢ click to NET SALARY
➢ click to BUILDER
➢ backspace the two bracket sign
➢ place the cursor infront of the NET SALARY
➢ key in this sign :=
➢ click to ANNUAL SALARY
➢ click to PASTE
➢ click on the SUBTRACTION SIGN –
➢ click to BASIC SALARY
➢ click to PASTE
➢ click OK
➢ click RUN
29
Compiled by Konneh Jr
➢ click open
➢ click ok
➢ click to QUERIES
➢ choose only one query
➢ click ok
➢ click to save import steps
➢ click to the save as column
➢ rename it
➢ click to save import
QUESTION SIX (6) PROCEDURES OR STEPS
TO IMPORT ONE REPORT
➢ click to EXTERNAL DATA TAB
➢ on the import ribbon click on access
➢ the dialog box that appear
➢ click on import tables, queries, forms, reports, macros and modules into current
database
➢ click to browse
➢ open the folder where your access are save
➢ click open
➢ click ok
➢ click to reports
➢ choose only one reports
➢ click ok
➢ click to save imports steps
➢ click to save as column
➢ rename it click to save import
QUESTION SEVEN (7) PROCEDURES OR STEPS
TO CREATE RELATIONSHIP
➢ click to data base tools tab
➢ on the show / hide ribbon
➢ click to relationship
➢ the dialog box that appear
➢ make sure you click to all the tables
➢ by click them one by one and then click to add
➢ after doing so close the show table dialog box
➢ click on the first field name of the first table
➢ drag and drop it to the second field name
➢ after doing so a dialog box will appear click to create
➢ afer doing so start from the second field drag and drop it to the third table
➢ after doing so, a dialog box will appear click on create again
➢ choose a suitable style to give your relationship
➢ click to relationship report
30
Compiled by Konneh Jr
➢ click to the save icon
EXERCISE TWELVE (12)
Prepare a database for the student enrolled at FAETECH COMPUTER SCHOOL of the
2013/2014 academic year. Let the field name be STUDENT ID, NAME OF STUDENT,
PROGRAMMED OFFERED, DATE REGISTERED, FEES, TIME and PHOTO
STUDE NAME OF PROGRAMMED DATE FEES TIME PPHOTO
NT ID STUDENT, OFFERED REGISTERED
ST 001 SULIAMAN MCAS WORD 1/3/2007 97,000,00 9:00am
ST 002 ABUBAKAR MCAS EXCEL 2/3/2007 99,000,00 8:00 am
R
ST 003 HASSAN MCAS WORD 3/4/2007 90,000,00 9:00am
ST 004 ISATU GRAPHIC DESIGN 2/5/2007 85,000,00 8:00 am
ST 005 MUSU MCAS PUBLISHER 10/4/2007 60,000,00 9:00am
ST 006 ISHMAEL MCAS 2/5/2007 150,000,00 8:00 am
POWERPOINT
ST 007 JIMMY MCAS WORD 4/8/2007 97,000,00 9:00am
ST 008 ALUSINE MCAS EXCEL 4/7/2007 99,000,00 8:00 am
ST 009 IBRAHIM MCAS WORD 5/6/2007 90,000,00 8:00 am
DATA DATA TYPE DATA TYPE DATA TYPE DATA TYPE DATA DATA
TYPE TYPE TYPE
Prepare a database for ECOBANK CUSTOMER. Let the field name be; ACCOUNT ID, ACCOUNT
TYPE, NAME, GENDER, ADDRESS, MOBILE NO, NEXT OF KIN, CUSTOMER WEBSITE
ACCOUN ACCOU NAME GENDER ADDRESS MOBILE NEXT CUSTOMER
T ID NT NO OF KIN WEBSITE
TYPE
001 CURRE SULIAMA MALE 11 CUP STREET 0995552 JOHN www.sul.co
NT N 22 m
002 SAVING ABUBAKA MALE 3 MOUSE ROAD 0886764 ISATA www.abu.co
S RR 44 m
003 CURRE HASSAN MALE 2 EYE STREET 0785673 ALICE www.has.co
NT 45 m
004 FIXED ISATU FEMALE 4 TAPE ROAD 0775479 ABU www.isa.co
17 m
005 CURRE MUSU FEMALE 5 KEY ROAD 0790652 SORIE www.mus.c
NT 76 om
006 SAVING ISHMAEL MALE 1 PHONE ROAD 0767892 MUSU www.ish.co
S 34 m
007 CURRE JIMMY MALE 11 ITEL STREET 0789543 MUSA www.jim.co
NT 25 m
008 FIXED ALUSINE MALE 22 EXCEL ROAD 0784569 JACK www.alu.co
87 m
31
Compiled by Konneh Jr
009 CURRE IBRAHIM MALE 44 INK STREET 0784567 MARY www.ibr.co
NT 43 m
DATA DATA DATA DATA DATA TYPE DATA DATA DATA TYPE
TYPE TYPE TYPE TYPE TYPE TYPE
33
Compiled by Konneh Jr
➢ Click the drop down arrow to fill type
➢ Choose gradient
➢ Beneath click to preset
➢ Close the properties dialog box
➢ Click the save icon
EMPLOYEE LAST NAME FIST NAME BASIC PAY ALLOWANCE OVER TIME NASSIT
ID
001 CONTEH SULIAMAN 1,000,000 4,000 60,000 50,000
002 JALLOH ABUBAKARR 900,000 7,000 65,000 60,000
003 KOROMA HASSAN 800,000 10,000 70,000 65,000
004 SESAY ISATU 700,000 5,000 70,000 67,000
005 KONNEH MUSU 600,000 3,000 65,000 60,000
006 JABBIE ISHMAEL 500,000 7,000 70,000 50,000
007 KAMARA JIMMY 450,000 9,000 60,000 50,000
DATA TYPE DATA TYPE DATA TYPE DATA TYPE DATA TYPE DATA TYPE DATA TYPE
QUESTIONS
34
Compiled by Konneh Jr
QUESTION ONE (1) PROCEDURES OR STEPS
➢ To calculate the net pay on the create tab click on the right hand side of the window
➢ Click to query design
➢ After doing so a show table dialog box will appear that displays table name
➢ Click to FAETECH STAFF
➢ Click to add
➢ Close the show table dialog box
➢ Click at the bottom to field
➢ Click to builder
➢ Below enter the following formula
➢ NET PAY:= [BASIC PAY]+[ALLOWANCE]+[OVER TIME]-[NASSIT]
➢ Click to OK
➢ To arrive at the final answer on the extreme right hand side of the window
➢ Click to run
QUESTION TWO (2) PROCEDURES OR STEPS
➢ Click to create tab under the report ribbon
➢ Click to REPORT WIZARD
➢ In the report wizard dialog box click the drop down arrow
➢ Choose FAETECH STAFF
➢ Click the double greater than sign >>
➢ Click next
➢ Click next
➢ Click next
➢ Click next
➢ On the style option
➢ Choose median
➢ Click next
➢ Click infront of faetech staff
➢ Backspace everything (delete)
➢ Replace it with EMPLOYEES SALARY VOUCHER FOR 2016
➢ Click to modify report wizard
➢ On the left hand side of the window click the drop down arrow to view
➢ Click to finish
➢ Click the save icon
35
Compiled by Konneh Jr
➢ Click to external data tab
➢ Under the export ribbon
➢ Click to word
➢ In the dialog box that appear
➢ Click to open the destination file after import operation is complete
➢ Click to ok
➢ Click to save Imports steps
➢ Click the save icon
SORT MULTIPLE COLUMNS IN A QUERY
As you learned in the previous sect ion, you can sort the rows your query returns. You can
also create sorts within a sort. For example, you can sort by state and then within a state,
you can sort by last name and then by first name. You specify the sort in the order you
want the sort to occur. If you want to sort by state and then by last name within a state and
then by first name within last name, you enter the sort in the following order: city, last
name, first name. Your sort order may not agree with the order in which you want to
display fields. In such a case, you can use fields that do not display to enter your sort order.
To prevent a field from displaying, deselect the Show box on the Show row.
TO SORT MULTIPLE COLUMNS:
1. Open a table or query in Query Design view.
2. Choose the field names you want to retrieve in the order you want to retrieve them.
3. Choose the field names you want to sort by in the order you want to sort .
4. Under the fields you want to sort by, choose Ascending or Descending.
5. Deselect the Show but ton for the columns you do not want to display.
6. Click the Run but ton. Access retrieves the columns you chose and displays the rows in
the order
you specified.
36
Compiled by Konneh Jr
EXERCISE SIXTEEN (16)
Create two table below; save the first table as EMPLOYEE DATA and the second table as
PAYROLL
EMP ID LAST FIST NAME JOB TITLE HIRED DATE PHONE TOWN
NAME
FAETECH KONNEH SULIAMAN PROGRAMMER 02/03/2001 078878975 BO
001
FAETECH DUMBUYA ABUBAKARR ANALYST 08/06/2002 786986433 MAKENI
002
FAETECH KAMARA HASSAN ENGINEER 30/08/2000 079326963 FREETOWN
003
FAETECH CONTEH ISATU PROGRAMMER 05/10/1999 099543689 BO
004
FAETECH JALLOH MUSU DOCTOR 21/07/1999 088555678 FREETOWN
005
FAETECH BANGURA ISHMAEL ENGINEER 15/12/2000 099764324 FREETOWN
006
DATA TYPE DATA TYPE DATA TYPE DATA TYPE DATA TYPE DATA TYPE DATA TYPE
QUESTIONS
37
Compiled by Konneh Jr
➢ Calculate net salary (deduction subtracted from gross salary added to overtime
claim)
39
Compiled by Konneh Jr
TO CREATE A FORM:
1. Open the Navigation pane.
2. Click the table or query on
which you want to base your
form.
3. Activate the Create tab.
4. Click Form in the Forms
group. Access creates a
form.
You can use the Navigation bars to move through the records on a form.
40
Compiled by Konneh Jr
CREATING REPORTS
Reports organize and summarize data for viewing online or for printing. A detail report
displays all of the selected records. You can include summary data such as totals, counts, and
percentages in a detail report. A summary report does not list the selected records but
instead summarizes the data and presents totals, counts, percentages, or other summary
data only. Access has several report generation tools that you can use to create both detail
and summary reports quickly. This lesson teaches you how to create reports.
USE THE REPORT BUTTON
The Report but ton creates a simple report that lists the records in the selected table or
query in a columnar format.
1. Open the Navigation pane.
2. Click the table or query on which you want to base your report .
3. Activate the Create tab.
4. Click the Report but ton in the Reports group. Access creates your report and displays
your report in Layout view. You can modify the report .
41
Compiled by Konneh Jr
4. On the Database Tools tab, in the Database Tools group, click the Encrypt with
Password button.
5. In the Password box of the Set Database Password dialog box, type a password,
and then press the enter key.
6. In the Verify box, type the same password you typed in the Password box. Then
click OK.
42
Compiled by Konneh Jr