3
We can use MS-Access to: -create/design Tables to hold our data -create/design Forms to work with the data (Add, Modify, and Delete) -create/design Reports to present our data How to create a Table? 1-Give a name to the Table 2- Determine the Columns(Fields) of the Tables 3- Determine the Data that will be stored in each column (Field) 4- Choose a suitable Primary Key (P.K) for the table P.K: A primary key is a field with value that is unique throughout a table. Task 1 1-Create table named as “Employees” with the following Structure Field Data Type ID Employee Name Position Gender Basic Salary Auto number Short Text (90 characters ) Short Text (30 characters ) Short Text (6 characters ) Number

Web viewWe can use MS-Access to:-create/design . Tables. to hold our data -create/design . Forms. to work with the data (Add, Modify, and Delete)-create/design

Embed Size (px)

Citation preview

Page 1: Web viewWe can use MS-Access to:-create/design . Tables. to hold our data -create/design . Forms. to work with the data (Add, Modify, and Delete)-create/design

We can use MS-Access to:-create/design Tables to hold our data

-create/design Forms to work with the data (Add, Modify, and Delete)

-create/design Reports to present our data

How to create a Table?

1- Give a name to the Table 2- Determine the Columns(Fields) of the Tables 3- Determine the Data that will be stored in each column (Field)4- Choose a suitable Primary Key (P.K) for the table

P.K: A primary key is a field with value that is unique throughout a table.

Task 1

1-Create table named as “Employees” with the following Structure

Field Data TypeIDEmployee NamePositionGenderBasic SalaryHousing Allowance Transport AllowanceExtra AllowanceTaxNet Salary

Auto numberShort Text (90 characters )Short Text (30 characters )Short Text (6 characters )NumberNumberNumberNumberNumberNumber

Page 2: Web viewWe can use MS-Access to:-create/design . Tables. to hold our data -create/design . Forms. to work with the data (Add, Modify, and Delete)-create/design
Page 3: Web viewWe can use MS-Access to:-create/design . Tables. to hold our data -create/design . Forms. to work with the data (Add, Modify, and Delete)-create/design

Task 2

1-Create a form to enter the Employees’ data

2- Put some data as follows

ID Name Position Gender Basic Salary

H. Allowance

T. Allowance

E. Allowance

Tax

1 Ahmed M 5000 4000 1000 2000 10002 Sarah F 7000 4000 400 1500 10003 Alia F 4000 2000 600 1200 10004 Reem F 5500 3000 750 800 10005 Ali M 9000 5000 1200 500 10006 Rashid M 7000 4000 1000 2000 5007 Khadeega F 5000 4000 400 1500 5008 Mohamed M 7000 2000 0 1200 5009 Nour F 4000 3000 750 800 500

10 Arwa F 5500 5000 1200 500 500

Task 3

1-Create a report to display the Employees’ data