Access | Creating tables exercise | Import cast table, and change fields to lookups
This exercise is provided to allow potential course delegates to choose the correct Wise Owl Microsoft training course, and may not be reproduced in whole or in part in any format without the prior written consent of Wise Owl.
You can learn how to do this exercise on the relevant Wise Owl classroom training course (sadly for the moment only in the UK).
You need a minimum screen resolution of about 700 pixels width to see our exercises. This is because they contain diagrams and tables which would not be viewable easily on a mobile phone or small laptop. Please use a larger tablet, notebook or desktop computer, or change your screen resolution settings.
In Access, choose to import the workbook called Cast.xlsx in the above folder into your database, to create a new table called tblCast.
Rather than creating a new primary key, choose to use the existing column called CastId as the primary key.
This is what you should have when you double-click on the table to view its data:
The first few of the 833 records imported.
Now go into the table's design, and change the following fields to look up data from other tables:
|Field||Table to look up from||Value to store||Field to display|
The first few records should look very different now when you double-click on the tblCast table (even though the values held haven't changed):
The first few films as they should now appear.
Close this table down!