0% found this document useful (0 votes)
92 views15 pages

MS Access Manual

Microsoft Access is a database management program that allows users to easily create and manage databases. It allows users to store data in tables, view and manipulate the data with queries, and create forms and reports. This document provides an introduction and overview of Microsoft Access, explaining how to start the program, the main interface elements, and how to create a new database and add tables, queries, forms and reports. It then provides step-by-step instructions for creating a sample database with tables and queries as a tutorial.

Uploaded by

daniel mutugi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
92 views15 pages

MS Access Manual

Microsoft Access is a database management program that allows users to easily create and manage databases. It allows users to store data in tables, view and manipulate the data with queries, and create forms and reports. This document provides an introduction and overview of Microsoft Access, explaining how to start the program, the main interface elements, and how to create a new database and add tables, queries, forms and reports. It then provides step-by-step instructions for creating a sample database with tables and queries as a tutorial.

Uploaded by

daniel mutugi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 15

MICROSOFT ACCESS

INTRODUCTION
Probably you have ever worked with a large and enormous data which made your data analysis and
management difficult. You were probably not alone. Take it that you were employed in a statistics firm and
your work is collecting data or probably you are a secretary of your school and you always receive large
data at the end of the day. How do you manage it?

Microsoft Company has come with a program that can help you to work on your databases easily and
effectively.

A data base is a collection of information that is related to a particular subject or purpose such as tracking
customer orders or maintaining a music collection.
Using Ms. Access you can
Manage all your information from a single database file.
You can divide your data into separate storage containers called tables.
View, add and update table data by using online forms
Find and retrieve just the data you want by using queries
Analyze or print data in a specific layout by using reports

STARTING MICROSOFT ACCESS


Start your computer which automatically loads Windows 95/98/xp [or any other], start Ms-Word by any of
the following methods:

Select the START button, point to Programs, Point to Ms-Office or Microsoft office application, click on
Microsoft access. [This depends on the way programs are organized in your machine]

OR

On the desktop, look for a Microsoft access Icon and double click on it to open.

The Ms Access window has three main features:


 The menu bar
 The tool bar
 The status bar

THE MENU BAR


This consists of commands that will be used while working with Ms. Access

THE TOOL BAR


It provides buttons (shortcuts) for creating a new database, opening an existing database, accessing cue cards
and accessing Help. A variety of more tools will appear depending on the object being worked on.

THE STATUS BAR


It is used for displaying messages or tags for tools and menus selected.

OVERVIEW OF MS ACCESS

CREATING A NEW DATABASE


A new Ms. Access database can be created by:
Using a blank database
1
OPENING AN EXISTING DATABASE
Start the Ms. Access program open the folder or the drive which you saved your database in.

ACCESS DATABASE OBJECTS


In access the term database refers to a single file that contains a collection of information. Each access
database consist of the following objects:
Tables
Queries
Forms
Reports etc
In short an access database is some thing you can select and manipulate.
A brief description of the major objects in Ms access

TABLE
Stores data in Rows and column format similar to a spreadsheet

QUERY
Extracts data from table based on user supplied criteria. They enable you to view fields from more than one
table or query.

REPORT
Displays and prints data from table or query based on the user defined custom format. You cannot delete
data from a report. Report can contain information from one table ot query.

The databases window contains a button (a tab) for each object. When you select a database object such as
table, access lists the existing table names. To open a specific object, single click the name and then click
open button either when opening the table, query or a form, for a report you click the preview button.

Use the new and design dialog buttons to create a new database object and also modify the design of
existing objects.

PLANNING AND DESIGNING ADATABASE


Before you create tables, forms and reports, you should take the time to plan your database. Focus your
attention on the data to be used, the people using the database and the tasks the people are to perform. If
there is a common element among the tables (eg Students admission No. between Motor vehicle department
table and computer department table). This element is called a primary key.

TABLES
A table provides a structure for data
You have to note the fields and the records
For example if you are to create a table for a college named CITC you would need to draft a table like this:

NAME AGE COURSE FEES


Ann 23 IT 2000
Christine 26 MVM 3000
Susan 18 ELECTRICAL 4000
Peter 19 MASONRY 1000
Moses 22 BEAUTY 4500
Lucy 24 HAIRDRESSING 5000
Trizah 21 WELDING 6200

2
PRACTICAL EXERCERSISES
Practicals in this series have been designed to provide a basic understanding of how a system may be
developed in Microsoft Access Application.

TUTORIAL ONE

In this you will learn how to:


Open and Exit a program
Create tables
Create queries
 Select query
 Parameter query
 Multiple conditional query

CREATING A NEW DATABASE


Once you’ve opened Ms. Access a dialogue box appears on the screen. Click on Blank Access Database
the OK. Give your Database a name ABC company. Save it in your folder (If you have any) then click
create.

CREATING A NEW TABLE


Select the Tables option and click on New, Design View, OK

Enter the following fieldnames, data types and field properties

FIELD NAME DATATYPE DESCRIPTION FIELD PROPERTIES


First Name Text Leave blank for now Field size 20
Format >
Last Name Text “ Field size 20
Format >
ID Number Number “ Field size Long Integer
Date Date/Time “ Format Short Date
Department Text “ Field size 20
Format >
Pay rate Number “ Field size Double
Union Yes/No “ Yes/No

NB.
In the format property, a greater than symbol (>) will convert whatever is typed into uppercase.

Select the row with ID Number and then click on the button which has a key picture on the standard tool
bar.
Close the Table and save it as Employee

3
ENTERING DATA INTO TABLES

Select the Employee table and click Open


Enter the following records in the table as shown

First NameLast Name ID Date Department Pay Rate Union


Number
McComack David 1013 15/01/89 Shipping 5.5 Yes
Akerman Luke 1016 01/04/93 Accounting 5.5 Yes
Doi Chang John 1017 22/05/93 Production 9.75 No
Casle Chris 1020 22/05/93 Shipping 6.00 Yes
Baxler Carter 1037 05/05/93 Accounting 7.50 Yes
Trevor Ben 1040 05/02/96 Shipping 11.00 Yes
Paul Buxton 1100 02/02/96 Accounting 12.00 Yes
Tylor Angela 2320 03/02/65 Production 10.00 Yes
Jemaine Fransisca 1149 05/05/92 Shipping 12.00 Yes
Alexis Silver 1120 04/03/96 Shipping 30.00 No
Amart Vivian 1222 12/12/95 Production 4.00 No
Derrick Jane 1018 21/05/93 Production 13.00 No
Carter Charles 1121 23/02/93 Administration 6.00 No
Jeremy Francis 1030 25/05/93 Accounting 7.50 No
Traxer Charles 2040 05/03/96 Shipping 11.00 No
Baker Baker 1101 22/02/96 Accounting 5.49 No
Kiberly John 2323 03/05/65 Administration 10.00 Yes
Frankson Stephanie 1159 05/02/92 Shipping 12.00 No
Jullie Pauline 1322 04/03/87 Administration 11.00 No

USING FILTERS
FILTER BY SELECTION
Use filter by selection to list all members of the Administration department i.e. Take the cursor to one of the
administration department member, click on Records, Filter by selection. It displays all members from the
administration department

FILTER BY FORM
Use the filter by form command to list all union members whose payrate is less than ten. Click on records,
filter by form. Under payrate type <10, under union put a tick by clicking to present Yes. Click on Filter,
Apply filter. Close the table without saving.

CREATING QUERIES
Create a select query using all the fields in the employee table.
Click on queries, New, Design view, Ok

4
Select the table you want to use and click Add then Close. Double click on each field and perform the tasks
below.

SELECT QUERIES
Create a query in design view that will display all members in the accounting department their Last name
sorted in ascending order.

PROCEDURE
Use the above procedure. Under the criteria row in the department field type Accounting.
Under the Last name in the sort row click and select Ascending.
Close the table and save it as Accounts list.
Open to view the result.

PARAMETER QUERY
Open the accounts list query in design view
Change the department criteria from accounting to a different department eg administration list. Save the
query as Administration list.

Repeat the procedure above to produce list for the other departments and save them with their [department
name] list.

MULTIPLE CONDITION QUERY


Create a select query using all the fields in the employee table
List all the shipping department employees whose pay rate is less than 10
Under the criteria for department type shipping and under pay rate type <10
Save the query as Conditional query
Run the query i.e. Open to view the results

5
TUTORIAL TWO
Create a new database called My Applications
Create the following table structures giving them appropriate names and key fields

NAME DATA TYPE FIELD PROPERTIES


PAYNUM Number Field size : Long integer
SURNAME Text Field size : 20 Format >
FORENAME Text Field size : 20 Format >
BIRTHDATE Date/Time Format : Shortdate
MARRIED Yes/No
NATIONALITY Text Field size : 15
ADDRESS Text Field size : 30
PHONE Text Field size : 10
DEPARTMENT Text Field size : 15 Format >
Primary Key : PAYNUM
Close the table and save as Personal Details

FIELD NAME DATA TYPE FIELD PROPERTIES


British Text Field size : 20
American Text Field size : 20
Zaerean Text Field size : 20

Save the table as Nationality and don’t put any primary key

FIELD NAME DATA TYPE FIELD PROPERTIES


Production Text Field size : 20
Sales Text Field size : 20
Accounting Text Field size : 20
Stores Text Field size : 20

Save the table as department and don’t put any primary key

FIELD NAME DATA TYPE FIELD PROPERTIES


CHILDNUM AutoNumber
PAYNUM Number Field size : Long integer
DATE Date/Time Format : Short date
GENDER Text Field size 1, Format >
Validation rule : M or F
Validation text : M or F
NAME Text Field size 20
Primary key field: CHILDNUM & PAYNUM
Close the table and save it as Children’s details

COMBO BOXES
Open the table Personal details in design view. Move to the field Nationality. Under the field properties
click on look up. Under display Control box select combo box. Under type select Field list. Under row
source select nationality table.

6
Move to the department field and do the same.

FIELD NAME DATA TYPE FIELD PROPERTIES


PAYNUM Number Field size : Long integer
APPOINTED Date/Time Format : Shortdate
SALARY Number Field size : Long integer
GRADE Text Field size 3

Primary key : PAYNUM


Close the table and save it as Appointments

FIELD NAME DATA TYPE FIELD PROPERTIES


PAYNUM Number Field size : Long integer
TAX Number Field size : Long integer
MEDICAL AID Number Field size : Long integer
PENSION Number Field size : Long integer

Primary key : PAYNUM


Close the table and save it as Payments

DEFINING RELATIONSHIPS
So far you have four tables which have a similar key field PAYNUM. There is need to establish a link
between the four tables at this level for the purpose of queries. The primary table is PERSONAL DETAILS
and records must exist here before they are queried upon by any other table.

Ensure that all the tables are closed but your database remains open.
From the Tools menu select relationships
Select the four major tables i.e. click on each table and then click Add. After choosing all four click close.
Drag and drop the following fields into the tables given:
 From Personal details click and drag PAYNUM to PAYNUM in the children’s details table, A
dialogue box appears Click on enforce Referential Integrity then click on Create
 From Personal details click and drag PAYNUM to PAYNUM in the Appointments table, A dialogue
box appears Click on enforce Referential Integrity then click on Create
 From Appointments click and drag PAYNUM to PAYNUM in the Payments table, A dialogue box
appears Click on enforce Referential Integrity then click on Create
Close and save the relationship layout

Add the following data to the linked tables

Table: PERSONAL DETAILS


PAYNUM SURNAME FORENAME BIRTHDATE MARRIED NATIONALITY ADDRESS PHONE DEPARTEMENT
1 ROSE PETER 12/3/1948 Yes BRITISH 12 CITY 45200 SALES
3 NEWLAND ALISTER 12/24/1953 Yes AMERICAN 21HIGH 85456 PRODUCTION
4 GREY CHARLES 1/12/1953 Yes AMERICAN 12RD 42134 SALES
7 ROUX SYDNEY 11/20/1951 Yes BRITISH 10STRT 45678 SALES
8 HODGERS BRUCE 3/17/1960 No BRITISH ALBANA 32345 PRODUCTION
9 COOPER TOMMY 2/5/1956 No AMERICAN 12CITY 45677 ACCOUNTING
10 ORANGE ANDREW 5/9/1957 No AMERICAN 11STRT 56788 STORES
11 KARA WILLIAM 11/11/1963 Yes ZAIREAN 10AVE 56556 ACCOUNTING
15 GAZI JANE 10/10/1965 Yes ZAIREAN SECT2 56565 ACCOUNTING
17 LOBB CECIL 12/30/1950 No ZAIREAN SECT3 32323 PRODUCTION

7
PAYNUM SURNAME FORENAME BIRTHDATE MARRIED NATIONALITY ADDRESS PHONE DEPARTEMENT
21 RIVET TREVOR 10/26/1962 No BRITISH 12RD 23233 PRODUCTION
30 WEST HELEN 10/29/1962 Yes BRITISH 21HIGH 45200 SALES
40 MZERE CAROL 5/1/1960 Yes AMERICAN 14AVEN 50210 STORES
41 MAMBO VICTOR 1/2/1965 Yes BRITISH MONRD 45200 SALES

Table : CHILDREN’S DETAILS


CHILDNUM PAYNUM DATE GENDER NAME
1 1 4/20/1975 M Thomas
2 1 2/4/1977 M Phillip
3 1 6/2/1978 F Adrienne
4 3 12/4/1979 M John
5 3 10/10/1977 F Loraine
6 7 4/12/1978 F Mary
7 11 5/15/1975 M Brian
8 11 6/30/1976 M Kevin
9 30 5/26/1980 F Linda
10 30 3/3/1985 M Pedro
11 15 9/13/1972 M David
12 15 10/9/1972 M Wilbert
13 40 10/27/1977 F Justine
14 41 4/12/1979 F Mary

Table : APPOINTMENTS

PAYNUM APPOINTED SALARY GRADE


1 1/1/1976 5750
3 1/1/1976 4600
4 1/1/1976 4025 2
7 6/1/1977 1610 1
8 1/10/1985 920 1
9 1/10/1985 2760 2
10 1/1/1984 5060
11 1/1/1976 4370 2
15 6/1/1977 1035 1
17 1/10/1985 3450 2
21 1/1/1984 4370 2
30 6/1/1977 6440
40 1/10/1985 1380 1
41 1/1/1984 1035 1

8
PAYNUM TAX MEDICAL AID PENSION
1 55 55 10
3 52 56 10
4 48 34 10
7 28 30 10
8 15 25 10
9 29 30 10
10 35 34 10
11 33 34 10
15 33 34 10
17 25 34 10
21 25 34 10
30 52 34 10
40 49 34 10
41 28 30 10

Use the knowledge that you have acquired in the previous work to perform the following. Guidelines have
been outlined.

Create a query in design view using the personal details table to produce all members who are married and
work under the sales department. Save the query as sales.

Create another query in design view using the table Children’s details to produce all male workers born
between 1977 and 1979. Save the query as BOYS.

Create a simple form using the Autoform:Tabular wizard for entering new records to the personal details
table. Save the form as Personal input form.

Use it to add four new records of your own to the personal details table.

Using the other three tables create forms for each by using the form wizard as below
 Click on Forms, New, Form wizard
 Choose the table you are to use and click OK
 Select all fields with the two arrows >> and click next
 Select the layout as tabular and click next
 Select also the style of your choice and click next
 Type a name for the form and click finish

9
TUTORIAL THREE
Complex forms, Cross tab queries, Action queries, Reports etc
Open the database My Applications

QUERY ONE
Creating queries with new fields
Create a select query using the personal details table with the following fields
Paynum, Forename, Department, Birthdate
Add this new field to calculate age after entering the last field birthdate
Type exactly as it appears Age: (Date()-[birthdate])
Save the query as Personnel ages and test the results through opening the query to see whether it has added a
field Age after the last field in the personal details table.

QUERY TWO
Create another select query using the following fields from the various tables
Make sure you add all the three tables before you click close.
TABLE FIELDNAMES
Personal details Paynum, Surname, Department
Appointment Appointed, Salary
Payments Tax, Medical aid, Pension

Add a new calculated field to obtain the net pay with the following formula
NET SALARY:[SALARY]-[TAX]-[MEDICAL AID]-[PENSION]
Save the query as net salaries

QUERY THREE
CREATING CROSSTAB QUERIES
This will count total number of employees in each department and the overall
Create a crosstab query using the table personal details with the fields
 Click on query, new, select crosstab query wizard, click ok
 Select the table you want for the crosstab and click next
 Click on the field Nationality for the row heading and click on > to select. Click next
 Click on the field Department for the column heading and click next
 Click on the field Paynum for calculation and select Count under the functions
Save the query as Department by nationality summary
Open to view the results
QUERY FOUR
CREATING ACTION (UPDATE) QUERY
Create a query in design view
Add the table appointment and close
Use only the field salary (by double clicking on it)
Click on query on the menu bar, select query update
Under update to row type the formula: [salary]*1.15
(This will increase the salaries by 15% in the appointment table)
Open the query just once. Check the effect on the actual data in the appointments table
TUTORIAL FOUR
Create a form using the appointments table
 Click on New, form wizard, Ok
 Choose the table appointments and click on >> to select all fields and click next
10
 Select Datasheet and click next
 Choose the appropriate style for your form and click next
 Click the name of the form and finish

Save the table as appointments

CREATING FORM WITH SUBFORM


Use the form wizard to create a form using the tables personal details & children details.
Add all the fields available in the personal details table and also in the children’s table
Click next button
Select the option of forms with subforms and click next and follow the instructions
Save and view the personal details form

CREATING REPORT
Create a report Autoreport Tabular from the table personal details
 Go to the report button
 Click on New
 Autoform tabular, select the table to use and click Ok
 Wait to preview the report
Close it and save it as personal details

Create another report using the children’s details table


 Click on New then report wizard
 Click on the table to use
 Select only the fields Date, Name & Gender
 Follow the instructions
 Save the report as children’s records

Design a report using the net salaries to print out payslips


Group the data per department
Give the report name as Payslips

Steps
 Click on report button, New, Report wizard
 Choose the table/query to use
 And select all the fields & click next
You will be asked whether you want to add group level
 Select department and click on >
 Click next and follow the instructions
 Save the report and print preview.

11
MORE EXERCERSISES

ASSIGNMENT ONE

PRODUCT PRICE CONTAINER MANUFACTURER TEL NO


OMO 100.00 CARTON EAI 33450
BLUEBAND 27.30 TINNED EAI 12389
CHIPSY 338.50 TINNED BIDCO 89111
DOOM 86.00 TINNED WELCOME 46850
JOMA 170.00 TINNED EAI 4750
KIMBO 68.00 TINNED EAI 69112
SUGAR 30.00 BAGS MUMIAS 41189
TEA 12.50 BAGS KETEPA 448111
UNGA 320.00 BAGS MILLS 56700

Open the table in design view and add a field CODE then enter the following records
OC1, JT4, SB8, KE2, BE7, UB9, TK1, CB9, TB5
Save the table as Task 1

Create queries to perform the following tasks and give them appropriate names
 A list of products from EAI
 List productcs with price greater than 90 and less than 180
 List products which are NOT manufactured by EAI
 Give me a list of products which are tinned ( I require the fields product, container & price only)
 Produce a list of products with price 100 or less and are from EAI
 Create a form and add 4 records of your own to update the table
 Create a report of each question asked
 Create a report with the following fields in order
Product
Code
Price
Tel. No.
Group the data as per container
Save your report

ASSIGNMENT TWO

NAME ADDRESS TOWN COUNTRY DATE RECEIVED


ALEX JIN 4593KIT CALIFONIA UGANDA 3/5/1991
CHERONO 3493VIC KITUI KENYA 7/1/1991
CLATEX 4999 CALIFONIA USA 11/5/1991
FREAR 9309BRU LANGA SUDAN 11/5/1991
HARDSON 247SBU SABABU ZAMBIA 4/18/1991
HARDSON FEAR CLATEX 8743LAG SABUBU ZAMBIA 4/18/1991
KIPRONO 938ELD DAGORETI KENYA 2/13/1990
MEND CARO 4484SUS ABEDEA UGANDA 2/13/1990
MIKE SUPA 2984NJA DOMOA ETHIOPIA 2/6/1980
MOLAN 690NRB CARIFONIA USA 1/2/1991
SABURU 46HIGH MOLO KENYA 4/4/1991
SALLY W 4592GGL SAMSUMA UGANDA 1/14/1991
SAMMY 894NJA JINJA SUDAN 8/24/1989
SANIA ARAP 560MLO ELDORET KENYA 6/8/1984
TOM JACK 247SBU LANET ZAMBIA 3/17/1991
TOWEN HH 488ABD LUKWA ZAMBIA 6/2/1990
12
NAME ADDRESS TOWN COUNTRY DATE RECEIVED
WALTER DAVIS 9405KSM952NVS VICTORY KISUMU ETHIPIA KENYA 2/13/1990
WAT HENRY 273KKU LOSANG USA 2/13/1990

Produce a list of mails from Kenya with all the fields and sorted in order of name
 Produce a list of all mails received on 13th February 1990
 Create a report showing name, town and the country sorted in alphabetical order
 Produce a list of mails received before 1991

Copy the table and make the following amendments


 The mail from Zambia that was received on 18 th April 91, the town has been changed to SUBARU
and the address is 14989 SAB
 All mails from KENYA have been done away with
 Change the dates 13th February 1990 to read 13th February 1989
 Save the table and produce a list sorted in descending order of the dates

Produce a list of mails from California USA

ASSIGNMENT THREE

OTHER
FIRST NAME BOX TOWN AGE INSURED COMPLAINT
NAME
JOHN DAVIS 2181 MOMBASA 35 YES COLD
KELVIN JONES 181 NAIROBI 40 YES FEVER
DAVID BRAHAM 2001 NAIROBI 38 NO FRACTURE
DORIS HOODS 2614 MOMBASA 37 YES NONE
MARVIN HAYLES 8181 KIKUYU 41 NO NONE
BRIAN ALI 7410 NAIROBI 36 NO COLD
WALTON BRANDY 1452 KERICHO 45 NO FEVER
DENNIS LYMOND 1547 NAIROBI 60 NO FEVER
DANIEL SHAWLS 1542 DIANI 52 YES FEVER
DALTON WAYNE 8541 MOMBASA 38 YES COLD
BREDA WILLIS 3254 NAIROBI 54 NO NONE
DORIS LYNN 4786 KIRIANI 39 YES NONE
JACK DAVERAL 9852 NANYUKI 53 NO NONE
STEPHIE WANNER 1475 THIKA 49 YES FRACTURE
STACY CHRIS 1367 KISUMU 39 YES COLD
STANLEY BLAK 8796 KISUMU 46 NO COLD
KENNETH WARRICK 4152 THIKA 43 NO COLD
DORIS LOPEZ 1533 DIANI 37 YES FRACTURE
WALTER BRAVO 7584 NAIROBI 55 NO NONE

 List all patients who are insured


 List all patients who are insured and are within Mombasa
 List all patients who are complaining of FEVER plus those not complaining at all
 List all patients who are from Thika
 List of all patients who are suffering from fever and are 50Yrs and above
 I need a list of all those who are insured
 Make a report from each list

Make a copy of the table and sort it in ascending order of Firstname


 Get rid of all those who are not complaining of anything
 Brian Ali has transferred to Kisumu make the neccesary changes
 Deveral has changed the address to 9874 DIANI
13
 Stanley Blak has been discharged
 Walton now has insurance. His fever has stopped but he is now complaining of cold
 Give me a list of the updated records
 Get the list of all those who are 40 and below
 Create reports for each

ASSIGNMENT FOUR

Create a database (CLINIC 1) with the following fields

Field Data type Field size


TITLE TEXT 12
FIRSTNAME TEXT 10
TOWN TEXT 10
WEIGHT NUMBER 3
MARRIED YES/NO 3
GIRLS NUMBER 2
BOYS NUMBER 2
FAMILY SIZE NUMBER 2
WORKING YES/NO YES/NO

Title should have (Mr. Mrs. Or Miss)


Town should be within Kenya
Family size should be from 5 people

 Use it to enter 10 records of your own


 Produce a list of all ladies (Mrs. & Miss)
 List of all men
 List of people with a family size of less than 8 and live in Nairobi
 List all those who are married and are working

Copy the table and make the changes below


 Add another field SALARY and enter your own records
 Delete the field weight and the records in it
 List all those who do not have a salary

ASSIGNMENT FIVE

14
Create the table below and save it as Memorial hospital

Table1
TITTLE FIRSTNAME FAMILYSIZE SALARY TOWN DISEASE
MR AJMAL 20 15000 MOMBASA FEVER
MR RAVAR 15 14600 THIKA MALARIA
MRS AKINYI 7 12100 NAIROBI DEABETES
MR OKOWOYO 4 12000 NAIROBI ULCERS
MISS NANJI 12 92300 NAIROBI LABOUR
MRS JAUDA 6 600 MOMBASA HEADACHE
MISS SEINA 3 7490 MOMBASA ULCERS
MISS NAHER 3 8100 NYERI LABOUR
MRS BELJAR 20 4200 NAIROBI FEVER
MR SAARKER 13 2000 KERICHO TRACHOA
MISS JABBAR 8 5500 NAKURU DEABETES
MRS MAISH 5 6500 NYERI FEVER
MRS CHARDA 10 11500 KERICHO MALARIA
MR NANDY 8 20340 ELDORET DEABETES
MR TUMAR 6 1500 NAKURU ULCERS
MISS ZITTER 9 6000 KISUMU LABOUR
MR BOB 6 3500 KISUMU MALARIA
MISS ANGIE 10 1500 NAKURU ULCERS

After creating the table, make a copy of it as updated records Memorial Hospital

Amendments
Create queries to produce lists of the following and save each with a different name
 The patients with a family size of more than five and live in Nakuru
 All men earning less than 5000
 All ladies (miss) suffering from ulcers
 All pregnant women
 Married women suffering from fever
 Patients from Nakuru and sort in ascending order of firstname
 List with all the records sorted in descending order of salary

After you are done create a report of each in tabular form

Access is application program used to retrieve, store, maintain and manipulate data in a database.
A database is the collection of related tables about a specific event.
Records are a collection of related field of data.
Field single characteristic of event or person / ideas.
Primary key is a unique identification of a single record.

COMPONENT OF ACCESS
Object use to manipulate and maintain data in the database eg table, queries, forms, reports, pages, macros,
modules

15

You might also like