JFD
Art - 2 - Setting Up Tables
The record card that JFD currently uses stores the following data:
This information will be split into 2 tables as follows
Table 1 - Artist
| Field Name | Data Type | Other Attributes | Notes |
| ArtistID | Number | 3 digit number Primary Key |
|
| ArtistName | Text | Size: 30 | Store Name: Surname, Forename |
| ArtistAge | Number | Integer | Between 10 and 120 |
| Nationality | Text | Size: 30 |
Table 2 - Painting
| Field Name | Data Type | Other Attributes | Notes |
| PaintingID | Number | 3 digit number Primary Key |
|
| ArtistID | Text | Size: | 3 digit number |
| PaintingTitle | Text | Size: 30 | |
| Media | Text | Lookup Wizard: oil, watercolour, pencil, etching | |
| ProductionYear | Text | Date/Time | |
| Value | Currency | ||
| Height | Number | 1 decimal place | Field size: double (allows decimals) |
| Width | Number | 1 decimal place | Field size: double (allows decimals) |
STEP 1 - Create a new blank database

NB. Check that your new database is 2000-2003 compatible by clicking Tools > Options > advanced > default file format.

ARTIST TABLE
STEP 2 - Create a Table in Design View

STEP 3 - Setup basic field information


STEP 4 - Set the primary key

STEP 5 - save the table
STEP 6 - set more complex field attributes





PAINTING TABLE
STEP 7 - Create a table in design view

Step 8 - Set Primary Key
Step 9 - Save Table
Step 10 - Set more complex field attributes



STEP 11
Scroll to the top of this page and use the information in Table 2 to set the field length and decimal places attributes on the height and width fields
You have now successfully setup your 2 database tables. Now it's time to enter the data!
| 1 Introduction | 2 Setting up tables | 3 Inputting Data |
| 4 Creating Relationships | 5 Queries - single fields | 6 Sorts |
| 7 Queries - Multiple Fields | 8 Queries - calculations | 9 Forms |
| 10 Reports | 11 Graphs |