The Home Environment Topic
Estate Agent's Topic - Setting up a House Database
The first thing to do is to load up the Microsoft Access program. When it loads up click on "Create New File" in the right hand help pane and then click on "Blank Database". Call the file "House Database" and save it in your yr8 ict folder.
The First thing that you have to do on a new database is set up any tables to hold information. the house database will have TWO tables.
Instructions to Start Making the Tables.
Table 1 - This will have 1 field only
| Field Name | Type of Field | Format or length |
| Type of House | Text | 20 |
When you have created this table click on the disc ikon to
save it and give it the name "tblhousetype"
Then open
this table in "datasheet view" and enter the following records:
|
Type of House |
| Bungalow |
| Detached |
| Semi-detached |
| Three Story |
| Town House |
| Apartment |
| Flat |
| Maisonette |
| Other |
Table 2 - This will have 27 fields
| Field Name | Type of Field | Format or length |
| House ID | Auto Number | Long Integer |
|
Vendor’s First Name |
Text |
15 |
|
Vendor’s Surname |
Text |
20 |
|
Vendor’s Title |
Text |
4 |
|
Type of House |
Text (Look Up) |
20 |
|
House Number |
Number |
Integer |
|
House Name |
Text |
25 |
|
Street Name |
Text |
25 |
|
Town |
Text |
20 |
|
Postcode |
Text |
8 |
|
Home Telephone |
Text |
14 |
|
Description of Property |
Text |
255 |
|
Year Built |
Number |
Integer |
|
Number of bedrooms |
Number |
Integer |
|
Size of Bedrooms |
Text |
255 |
|
List of other rooms |
Text |
255 |
|
Garage |
Yes or No |
|
|
Car Port |
Yes or No |
|
|
Front Garden |
Yes or No |
|
|
Rear Garden |
Yes or No |
|
|
Central Heating |
Yes or No |
|
|
Type of Heating |
Text |
20 |
|
Double Glazing |
Yes or No |
|
|
New Roof |
Yes or No |
|
|
Re-wired |
Yes or No |
|
|
Conservatory |
Yes or No |
|
|
Other information |
Text |
255 |
Make sure that there are NO mistakes when you set up the fields
You are now ready to set up the type of house field as a look up field...
See the next lesson for details.