1 / 53

Creating a Database

Creating a Database. Keith Valley Health and Physical Education Department. Angelo Lafratta- Alafratt@hatboro-horsham.org Website: www.hatboro-horsham.org Search: Keith Valley Physical Education. Using Microsoft Excel to Track Performance. Create an Excel Sheet. Important Items

glyn
Télécharger la présentation

Creating a Database

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Creating a Database Keith Valley Health and Physical Education Department Angelo Lafratta- Alafratt@hatboro-horsham.org Website: www.hatboro-horsham.org Search: Keith Valley Physical Education

  2. Using Microsoft Excel to Track Performance

  3. Create an Excel Sheet • Important Items • Student ID – used for tracking students progress from year to year- also can be used to compare fitness scores to academic progress and standardized tests. • Sorting Factor – how you want class sort students • Day/ grade- on which days students have PE on (ex. A,C,E) • Student Birthday- • PE Teacher – • Homeroom Teacher – • Graduating year • Parent EmailGender • Grade • Other Information (that you would enter) • Fall fitness scores (ex. Push-ups, sit-ups, mile run, flexibility) • Spring fitness scores

  4. Open a New Database 1 2 3 4 Open Microsoft Access Click blank database Name database Click folder to choose a location to save file Click create

  5. Enter Data • Access automatically opens a new table. • You can choose to ……. • Enter student info manually • Copy and paste student info from another location (ex. Power Teacher ) • Import an Excel Spreadsheet.

  6. Importing External Data 1 2 Choose the External Data Tab Click Excel This will open a wizard follow directions to import spreadsheet.

  7. Using Import Wizard 1 2 3 Click Browse button to find file Click the import button Click ok

  8. Select the sheet you want to import and click next.

  9. 1 2 Make sure the check box is filled in Click next

  10. 2 1 3 Click on the column heading to change the field name- type in the field name box You can choose not to import a field by clicking the check box When complete click the next button

  11. 1 2 3 Click choose my own primary key and select ID Field You may get an error later in the process if a student is missing an ID or if there is a duplicate for some reason. Click next

  12. Name File – use something specific ex. 2010-2011 fit scores Click Finish You may get an error after clicking finish if the formats are not correct

  13. 1. Click close

  14. 3 1 2 Click your file to open it Enter info by typing in each box – similar to a spreadsheet By clicking the arrow next to each column heading you can sort your info

  15. Importing Another File • If you have more than one file to import repeat the directions. • Example – if you have fitness scores for the same class from a different year.

  16. Making Adjustments to Imported Tables Open Table Click View button > select design view

  17. Making Adjustments to Imported Tables • Select each field name • Select the data type • Make changes to property settings

  18. Making Adjustments to Imported Tables • ****Save Changes to File when you finish**** • While you are in design view you can assign the primary key to the ID column. Just select the ID column and then click the primary key. You will see a small key next to the field name. Click close and save changes. • If an error shows up, take the primary key off and return to the table view. If there are extra rows with no info please delete any rows without student info. then return to previous steps.

  19. Linking Data from year to year • The key to using a database is being able to link student fitness scores from year to year. • You need at least two years of info to link students scores. • Follow directions on the following slides to link data.

  20. Linking Data/ Creating Relationships • We need to tell the program two important things • What tables do we want to link together? • What is the link that ties these two tables together (Student ID)?

  21. Linking Data/ Creating Relationships Open one of the tables Click the datasheet tab Select relationships

  22. Linking Data/ Creating Relationships The “Show Table” box will pop up Select each table and click add Click close

  23. Linking Data/ Creating Relationships Pull and drag the ID field name from one box across towards the other ID field- start with most recent and move to previous years. Edit Relationships box will pop up Make sure ID is shown under table/ query and under related table/ query See next slide

  24. Linking Data/ Creating Relationships • Click join type- select 2nd option so it will add any new students from this year and will not include students from last year that are not in school this year. • It should read something like………. “Include all records from “(most recent year)” and only those records from “(previous year)” where joined fields are equal. This will make sure that students who were enrolled last year but not this year are not included. • Click ok • Click ok again • A solid line should then be drawn connecting both ID Fields • Now your files are linked/ related- click the close button – you want to save changes

  25. Create a Form • A form is a screen where you can find all information related to an individual student. • You may also use a form to enter students data individually. • Forms are the most accurate way to enter info. A card size form could be printed and used to handwrite info before transferring it to the database.

  26. Creating a Form Select this year’s fit scores table Click the create tab Select more forms and click form wizard

  27. Using Form Wizard Make sure you start with your most recent table – in this case 2010-2011 Use the single arrow (pointing to the right) to select single fields you would like to include. Use the double arrow to select all fields. **** I like to add names and ID from both tables to make sure they are linked properly. You can delete one set later. Repeat steps 1 and 2 to add other tables Use the drop down labeled Tables/ Queries to find other tables. Click next

  28. Using Form Wizard Select Columnar to make Individual reports Or ->Select datasheet to see all info merged into one spreadsheet Click next

  29. Using Form Wizard Choose none – it makes it easier when copying in black and white. Click next

  30. Using Form Wizard Final step Name file – I like to add “Form” to the title for reference Click finish

  31. Manipulating Form Access will automatically drop fields inside the form box. You can always move things around later. Moving Around in Form Under the home tab is a button that says view. There are 3 types of views. Form View – You can make changes to the info inside the fields here, add or delete student info. Layout View – Is where you can move fields. Design View – Is where you can manipulate the fields themselves – move things around or delete a field all together.

  32. Manipulating Form We are now going to re-arrange fields Make sure you are in layout view You can pull and re-size boxes to fit your style

  33. Manipulating Form After arranging files how I want them set up. 1. You can add clip art or logos from here by clicking the logo button.

  34. Final View – click arrow buttons to sort through student records. • Notice how it only shows info for John Smith.

  35. Queries • Queries can also be used to tie multiple tables together and show all info you choose in one spreadsheet.

  36. Queries • You can use the query wizard to help you create your own. • Click the create tab and select query wizard • Select simple query • Insert tables as before using most recent first, then additional files. • Select next when finished

  37. Queries • Select the detail button and click next

  38. Queries • Name and click finish

  39. Queries Final View Minor adjustments can be made right in that sheet (font size, column size etc.)

  40. Report View • A report can be used two ways • As an individual report • As a class/ group report

  41. Creating an Individual Report Select the files you would like to use Click report wizard on the create tab Select the tables / queries you would like to add Select the fields you would like to add Click next Step 1

  42. Creating an Individual Report Click next – no need for grouping now Click next again on sorting screen Step 2

  43. Creating an Individual Report Select Columnar Select paper orientation Click next Step 3

  44. Creating an Individual Report Select style as none and click next Step 4

  45. Creating an Individual Report Name file and click finish This will give you an individual report for each student Step 5

  46. Creating an Individual Report Individual report Records can be moved and adjusted as needed. Click the home tab> select View tab and choose design view. Click arrange tab > click CTRL + A buttons then choose the remove button (in the control layout box) . Step 6

  47. Creating an Individual Report KV Individual Student Report

  48. Creating an Class/Group Report Follow steps 1-2 for creating an individual report Choose tabular this time instead of columnar Return to directions for individual report and follow steps 4 -5

  49. Creating an Class/Group Report After you click finish and save a copy of your report will pop up. It may need to be adjusted. To adjust report go back to design view and resize as needed. You may also want to delete unnecessary items in your report or switch to landscape view.

More Related