Access | Creating tables exercise | Create film directors table, including looking up gender
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.
Create a table to hold directors of films called tblDirector, with 4 fields:
Create a table to hold the names of film directors.
Note that the director's gender should be held as a number; use the Lookup Wizard to look this up from the separate table of genders.
Now follow these steps to import directors into your table:
Import data from the Excel workbook called Directors.xlsx in the above folder into a new table.
Edit the design of this new table and delete the ID field created for you.
Copy and paste all of the records from this imported table into your tblDirector table.
At the end of this, you should have a table of directors!
The first few directors (although the gender displays as Male, the value held is 2).
Close your table down!