2 Key Questions How do I create a new database in Access? 21 April 2017Key QuestionsHow do I create a new database in Access?What is validation and how do I add it to a databaseWhat is an input form and how do I create an effective input form?
3 Homework Update your project plan with everything we have done to date 21 April 2017HomeworkUpdate your project plan with everything we have done to dateThese will be checked in your next lesson, so MUST be up to date
4 Creating a New Database 21 April 2017Creating a New DatabaseIn Access, once you have a new document, there are 2 different Table views:Design View – For changing the layout/structure of the Database.Datasheet View – For adding data to the Database or browsing through data.Change between different views by using the following button:
5 21 April 2017Task 1: Create Database20minsYour teacher will show you how to create a new database and database table.Create your music database and table using your Data Dictionary from last lessonCreate any look ups need (i.e. drop down boxes)Use the help sheet given to you at the start of the lesson
7 Task 3: Add validation to your music database 21 April 2017Task 3: Add validation to your music database
8 Importing data Your teacher will demonstrate how to import data Reasons for errors:Too many fieldsCapital letters or spelling mistakesValidaiton rules are incorrect
9 21 April 2017Task Input FormsInput forms are just electronic versions of traditional forms.There are many inputforms on the Internet.They are used to makeinputting informationeasier, and they canalso displayinformation as well.
10 21 April 2017Database Input FormsWhen working with a Database, we need to create an input form to help the user type information into the database:eg
11 Making Input Forms (1) Click on ‘Forms’ Then click on ‘Create form by 21 April 2017Making Input Forms (1)Click on ‘Forms’Then click on‘Create form byusing wizard’:
12 21 April 2017Making Input Forms (2)Click on the >> button to add all of the fields in the database to your input form.Now click ‘Next’
13 Making Input Forms (3) Choose ‘Columnar’ and then click on ‘Next’ 21 April 2017Making Input Forms (3)Choose ‘Columnar’ and then click on ‘Next’
14 Making Input Forms (4) Choose ‘Standard’ and then click on ‘Finish’ 21 April 2017Making Input Forms (4)Choose ‘Standard’ and then click on ‘Finish’
15 21 April 2017Making Input Forms (5)Double click the name of the form from the main window.The form will now open. Next, click on the ‘View’ button to go to design view (this will let you edit the appearance):View Button
16 21 April 2017Making Input Forms (6)Hover your mouse in this area until your cursor changes, then drag down to make more space.Right click on areas of the form to change the colours, fonts etc
17 21 April 2017Task 2: Input FormsCreate an input form for your school trip database. Make sure that you include the following:A sensible titleSuitable buttons to help the userA related imageSensible colour schemeFinished? Read these pages on Database reports.
18 21 April 2017QueriesWhen we need to search and/or sort the database, we can use a query.Queries work in design and datasheet view in the same way that tables do.When we make a new query we need to specify the search and/or sort criteria (ie what to search/sort).
19 21 April 2017Query ExampleIn order to make a query, we need to know the fields in the database that will be used.Eg Search the ‘Country’ field for ‘Spain’Search the ‘Price per person’ field for ‘£40’
20 21 April 2017Making Queries12Click on ‘Queries’ then on ‘Create query using wizard’.Click on ‘>>’ to add all fields then click ‘Next’.
21 21 April 2017Making Queries (2)32Click on ‘Modify the query design’ and then click ‘Finish’.
22 21 April 2017Making Queries (3)4If you would like to find something, type into the ‘criteria’ box. To sort, choose a method of sorting from the ‘sort’ box.
23 21 April 2017Making Queries (4)5Click the Exclamation mark to run the query.6The query results will now be shown. After closing the results window, save the query with a sensible file name.
24 Task 3: Creating Queries 21 April 2017Task 3: Creating QueriesCreate (and save) queries to do the following:Sort the destinations into descending alphabetical order.Show all educational destinations and sort this list into ascending order according to destination name.Show a list of all Heritage and Sports trips only.Show all trips costing less than or equal to £5.Show all trips that are free and sort into ascending order according to the ‘region’ field. Hide the web address, opening time and closing time fields.Need help? Click here. Finished? Click here & read – try the activity on this page also.
25 21 April 2017HomeworkIn PowerPoint, create an input form design for your Dance O’Clock database. Use your data dictionary for help with knowing which fields to include. Remember to include buttons, an image and sensible colours.Annotate to explain fitness for purpose and audience.
26 Plenary Here are some answers to questions regarding databases. 21 April 2017PlenaryHere are some answers to questions regarding databases.Write a question for each answer:FieldRecordQueryValidationInput Mask
27 IMPORTANT! Log off the computer Tidy up your computer area 21 April 2017IMPORTANT!Log off the computerTidy up your computer areaSmarten up your uniform