Transcript
Page 1: Logon then turn your monitor off!

Logon thenturn your monitor off!

Page 2: Logon then turn your monitor off!

Creating a database

A way of keeping information

Page 3: Logon then turn your monitor off!

Start the database program

Start > Programs > Microsoft Office > Access

Page 4: Logon then turn your monitor off!

Create the new database

Type in ‘members’ Click ‘Create’

Page 5: Logon then turn your monitor off!

Now create a table to hold the data

Double click ‘Create table in design view’

Page 6: Logon then turn your monitor off!

Enter some fields

What’sa field?

A field is the name of one bit of data – for example ‘Surname’

Type ‘Surname’ here. (No not your surname – the word ‘Surname’)

Page 7: Logon then turn your monitor off!

Now tell it what type of field

Click here to get the ‘Text’ field type to appear in this column.

Is ’50’ too

long?

The longest surname in school is 15 characters long!

Change it to 20

Page 8: Logon then turn your monitor off!

Create more fields

First Name (length 15) Gender (length 1 – you will enter M or F) Address line 1 (You work out how long to

make it. Think of the longest you know and add a few extra)

District (How long?) Town (How long?) Postcode (postcodes can be 9 long)

Page 9: Logon then turn your monitor off!

Add a ‘Date of birth’ field

Type ‘Date of birth’ here

Then click here and click the V after the ‘Text’ which appears

Page 10: Logon then turn your monitor off!

Select ‘Date/Time’

Page 11: Logon then turn your monitor off!

Now choose the type of date

Click here and then on the ‘V’ which appears

Choose ‘Medium Date’

Page 12: Logon then turn your monitor off!

Add a membership number

Page 13: Logon then turn your monitor off!

Make it a ‘Primary key’

Click this icon

What’s a

Primary Key?

A field which is a primary key has to have unique entries – no two the same. Autonumber fields are always unique.

Page 14: Logon then turn your monitor off!

Save the table

Use File > Save Type in a table name e.g. ‘Member list’ Click ‘OK’

Page 15: Logon then turn your monitor off!

Starting your database again

Choose Start > My Documents Find your database file – it should be

called ‘members’ and will look like Double click the file Choose ‘Yes’ then ‘No’ then ‘Open’

Page 16: Logon then turn your monitor off!

Putting data in the database

Try double clicking this.

Page 17: Logon then turn your monitor off!

The table of data

You could just click in the table and enter data but…

…there’s a better way

Click this cross to close the table.

Page 18: Logon then turn your monitor off!

Creating a form to enter data

Select this ‘object’

…then double click ‘Create form by using wizard’.

Page 19: Logon then turn your monitor off!

Creating a form (2)

Click this …

…then click ‘Finish’.

Page 20: Logon then turn your monitor off!

Entering data in a form.

Ignore this

Type your details

Type your details

Type M or F

e.g. 12-Jan-1987

Type your details

Click this for the next one

Smith

Joseph

M

12-Jan-93

16 Feather drive

Harold Hill

Romford

RM3 7FG

Page 21: Logon then turn your monitor off!

Entering data in a form.

Oops there’s a mistake!

That should be ‘Drive’ not ‘drive’

To fix it just click where the mistake is and correct it.

Smith

Joseph

M

12-Jan-93

16 Feather drive

Harold Hill

Romford

RM3 7FG

16 Feather rive16 Feather Drive