Microsoft Access - Introductory level
Lesson One - Working with tabular data
DESCRIPTION:
This lesson on Microsoft Access identifys what a database is and the six objects that make up an access database.
SPECIFIC OBJECTIVES:
At the end of the lesson students should be able to :
- Present data in tabular form
- Plan a simple access table
- Identify data types for fields
PREREQUSITE KNOWLEDGE:
Before attempting this lesson you should know :
- How to locate files in the document folder
- How to use the basic features of Ms Word
- Basic knowledge of Excel can be helpful
- Know the difference between files and records
About Microsoft Access
Exercise 1.0
Microsot Access is a powerful database application that is part of the Office application suite. It allows users to enter, query, manipulate and print databases with thousands of records. While data can be imported from MS Excel and exported to Excel with little effort Access and Excel are different applications and this should be kept in mind when learning access if you come from an excel background.
What is a database?
A database is an organised collection of related data. This data can be about people, places, animals or things. We collect data all the time and once it is organised in some meaningful way we have a database. Do you keep a list with the names and numbers of friends and family written down somewhere? Then that is a manual database. It is not difficult to put that information into an electronic database such as microsoft access.
Advantages to using a database
- Electronic forms make data entry simple
- The data can be validated at data entry time.
- Easy to enter and update the data when needed
- Related items of data can be linked to generate reports
- Can be used for personal as well as business records
Disadvantages to using a database
- Computers can break down causing you revert to a manual system
- Users must be trained and that takes time and money
- Data can be corrupted and or stolen if safeguards are not in place
If you have few records then an electronic database will not be needed. However, if you are running a small business and you want to be ready for expansion then an electronic database can provide you with many benefits and help you provide good customer service.
Objects of Access
An access database can contain six objects. A table is a basic unit of a database. It is the most important object in the database as it contains data on the specific items being stored. The data we collect must be placed into tables first before we can display and manipulate it.
- tables - which hold the data
- queries - which organises and displays the data
- forms - used to enter and view data
- reports - designed to be printed
- macros - to automate tasks
- modules - to develop applications
Planning
Before going to a computer to set up a database you must plan what you are going to do. Planning is key because you must consider how best to display your data. The objective must be to have as little duplication of data as possible. Tables with related fields must be linked in a meaningful way.
Terms to master
Each term will be explained in detail as the lesson progresses.
- table
- field
- attributes
- primary key
- validation rule and message
Data and tables
Sample data
Remember tables are the most important object in a database so it is most important to design tables carefully to ensure your database meets its objective.
Here is some details of three employees to be placed into an access table :
Scott, Randolph ID 3002 - 12/03/1995, male, finance, $6,000
James, Charlotte ID 2007 - 24/08/1997, female, sales, $5,000
Sing, Ricky ID 3005 - 4/08/2000, male, distribution, $4,000
Examine the data carefully and note the following :
- Data is provided for three employees
- We have a separate record for each employee.
- The surname is recorded first followed by the first name
- Each employee is assigned an employee ID
- The gender of each employee forms part of each employee's record
- Each employee is assigned to a department
- For each employee we record seven data items
Each data item must go into a separate field. All the items of a field are of the same data type. The last item of data records the monthly salary so only figures that represent salary must be placed into that field. The salary field will not accept a date nor will it accept text data.
Test Yourself
Access Activity 1.0
Rule up a page in your notebook with seven columns
- Enter at the top of each column ( surname, first, ID, dob, gender, dpt, salary)
- Enter each employee record on a separate row
- Add a new female employee with ID number 2009
- Fill in the details for this new employee
- Choose an existing department to add the employee to
- Compare employee ID numbers. What do you observe?
- What do you think the field name dob stands for?
End of Ms Access Lesson One - Working with tabular data
|
The Tutor |
Site Comments to: Webmaster |