Se ha denunciado esta presentación.
Se está descargando tu SlideShare. ×

MS Access teaching powerpoint tasks

Cargando en…3

Eche un vistazo a continuación

1 de 66 Anuncio

Más Contenido Relacionado

A los espectadores también les gustó (20)


Similares a MS Access teaching powerpoint tasks (20)

Más reciente (20)


MS Access teaching powerpoint tasks

  1. 1. Database Project<br />Formative assessment through project work<br />ICAU1131B - Operate a database application<br />ICAU2006B – Operate computer packages <br />Wednesday, June 15, 2011<br />1<br />Teaching Tool – Project Instructions<br />
  2. 2. Within the work place employers expect that employees can produce documents, spread sheets and data bases quickly within acceptable time frames. <br />Assessors of this unit will be observing that you have the ability to meet the expectations of employers.<br />Time Frames <br />2<br />Wednesday, June 15, 2011<br />
  3. 3. It is a requirement of the course that you are able to save and file your work in a way that would also be acceptable in the workplace. <br />For this unit you are to create the following folder structure and save all your completed work into this folder.<br /> <br />H:aveodule 2CPccess<br />In addition, you are required to upload assessment items to appropriate locations on the course pages of your Learning Management System (Janison)<br />Electronic Filing<br />3<br />
  4. 4. You are required to submit all completed tasks, including the Access Project file, to the appropriate location on your Learning Management System - Janison<br />Evidence<br />4<br />Wednesday, June 15, 2011<br />
  5. 5. What is a Database? <br />5<br />Optional Video Explanation<br />
  6. 6. A database is a tool for collecting and organizing information. <br />Databases can store information about people, products, orders, or anything else. <br />Many databases start as a list in a word-processing program or spreadsheet. As the list grows bigger, it becomes more complicate to keep data well organised. The data becomes hard to understand in list form, and there are limited ways of searching.<br />Once these problems start to appear, it's a good idea to transfer the data to a database created by a database management system (DBMS), such as Office Access 2010.<br />What is a Database? <br />
  7. 7. Microsoft Office Access, is a relational database management system from Microsoft. <br />It is a member of the Microsoft Office suite of applications.<br />Access stores data in its own format .<br />It can also import or link directly to data stored in other applications and databases.<br />From Wikipedia <br />What is Microsoft Office Access?<br />
  8. 8. Using Access, you can:<br />Add new data to a database, such as a new item in an inventory<br />Edit existing data in the database, such as changing the current location of an item<br />Delete information, perhaps if an item is sold or discarded<br />Organize and view the data in different ways<br />Share the data with others via reports, e-mail messages, an intranet , or the Internet<br />What can MS Access be used for?<br />How to use Access for your contacts<br />8<br />Wednesday, June 15, 2011<br />
  9. 9. Sample Access Templates on<br />
  10. 10. Sample Access Templates on<br />
  11. 11. Database Project<br />Wednesday, June 15, 2011<br />11<br />Creating a database<br />
  12. 12. You will develop a database that you could use within your trades to assist you in managing the contact information for suppliers.<br />Your database will contain four kinds of objects:<br />Tables<br />Forms<br />Queries<br />Reports<br />Together, these objects will allow you to enter, store, analyze, and compile your data as you wish.<br />What are you going to do?<br />
  13. 13. Watch the video to learn about the four Access 2010 objects and how they work together to make a relational database.<br />
  14. 14. Task 1 – Create a New Database<br />Createa new database named YourName*Access Project and save it in H:WAVE / Module 2 / OCP / Access<br />
  15. 15. Wednesday, June 15, 2011<br />15<br />Open Microsoft Office Access (Start- All Programs- Access)<br /> The following screen will appear<br />Step 1: Make sure that Blank database is selected<br />Step 2: Name the file “FirstNameLastNameAccess project” (include your name - for example: John Smith Access Project)<br />Step 3: Click on the small folder next to the file name and save the file to / H: WAVE / Module 2 / OCP / Access<br />.Step 4: Click on “Create”<br />HOW TO Create a new database<br />
  16. 16. Task 2<br />Creating a Table in Design View<br />Wednesday, June 15, 2011<br />16<br />
  17. 17. Wednesday, June 15, 2011<br />17<br />Task 2- Step 1&2<br />Step 1: Select the Create tab on the Ribbon <br />Step 2: <br />Locate the Tables group <br /> click on Table Design<br />
  18. 18. A new table will be displayed, ready for you to define Field Names and properties:<br />Task 2- Step 1&2<br />Wednesday, June 15, 2011<br />18<br />
  19. 19. Wednesday, June 15, 2011<br />19<br />Make sure the cursor is in the Field Name Column.<br />TypeSupplierNumber and press [Enter] or [Tab].<br />For the moment, ignore the Data Type column.<br />Step 3: Creating Field Names<br />
  20. 20. Wednesday, June 15, 2011<br />20<br />Add the rest of the fields in this table.<br />REMEMBER: It is not a good idea to put spaces in to your field names as this can cause conflicts within other areas of your database.<br />Step 3: Creating Field Names<br />
  21. 21. You have to choose data type for each field<br />Click on the Data Typedrop down list that appears next to SupplierNumber.<br />SelectNumber Data Type<br />Step 4: Selecting a Data Type<br />21<br />Wednesday, June 15, 2011<br />
  22. 22. Wednesday, June 15, 2011<br />22<br />Step 4: Selecting a Data Type <br />Select a Data Type for all other fields in your table:<br />
  23. 23. Wednesday, June 15, 2011<br />23<br />Task 2- Step 5- Save<br />Type Suppliers<br />ClickOK<br />Right Click on Table 1<br />Select Save<br />Insert a screen shot of Suppliers table into your evidence document Task 2<br />
  24. 24. Task 3<br />Create a new table for products<br />Wednesday, June 15, 2011<br />24<br />
  25. 25. Create a second table called Products in your Access Project Database.<br />This table will be used to track items you could purchase from your suppliers. <br />Products table will have the following fields:<br /> Product Number<br /> Product Name<br /> Price<br /> Supplier<br />Follow the same procedure as in Task 2 and remember to select appropriate Data Type for all fields. <br />o Hint: use the Currency Data Type for Price field. <br />Create a screen shot of Products table in “Design View” and insert it into your file.<br /> Important: Save and close Products table<br />Task 3 – Products table <br />25<br />Wednesday, June 15, 2011<br />
  26. 26. Wednesday, June 15, 2011<br />26<br />Task 4 Supplier Form<br />You will use the Auto Form tool to create a simple form to easily enter data into your Supplier table.<br />Step 1: Open the Suppliers table <br />Step 2: Select the Create tab on the Ribbon <br />Step3: <br />Locate the Forms group <br />click on Form <br />
  27. 27. Wednesday, June 15, 2011<br />27<br />Task 4 Supplier Form<br />A single-column form is created, containing all of the fields in the Suppliers table<br />
  28. 28. Wednesday, June 15, 2011<br />28<br />Task 4 Supplier Form<br />Step 3: <br />Closethe form and<br />savechanges as “Suppliers”<br />Step 4: <br />Openthe Suppliers form<br />Take a screen shot with<br />the form open and insert it in your workbook<br />
  29. 29. Go to the Yellow Pages or Google Maps online and find five (5) suppliers that are relevant to your industry. <br />Use your Suppliers Form to input the datainto Suppliers Table<br />Task 5 - Using the form<br />29<br />Wednesday, June 15, 2011<br />
  30. 30. Wednesday, June 15, 2011<br />30<br />Example: Suppliers Table with data for five suppliers in Data Sheet View<br />Create a screen shot of your Suppliers table with details of five suppliers in Data Sheet View and insert it into your workbook.<br />
  31. 31. Wednesday, June 15, 2011<br />31<br />Table Relationship<br />One of the goals of good database design is to remove duplicate data. <br />To achieve that goal, you divide your data into many subject-based tables so that each fact is represented only once. You then provide Access with the means by which to bring the divided information back together — you do this by placing common fields in tables that are related. <br />To do this step correctly, however, you must first understand the relationships between your tables, and then specify these relationships in your Office Access 2007 database.<br />
  32. 32. Wednesday, June 15, 2011<br />32<br />Table Relationship<br />A relationship is “linking” of two tables by a common element. For example the Suplier field in Products table should be related to the SupplierName field in the Suppliers table. To link the two tables together by this field, we define the relationship between them.<br />Access uses a lookup to create this function, and a Lookup Wizard can help you to define the lookup correctly.<br />
  33. 33. Wednesday, June 15, 2011<br />33<br />Step 1: Preparation<br />Make sure that you are viewing your Access Project database<br />Double-click Products table to open it in Datasheet view.<br />Step 2: Delete the column Supplier from Products table<br />Scroll to the Supplier field- and click in this field<br />With the cursor in the Supplier column, Right-click and choose Delete Field<br />The following message will appear if you have any records:<br />Choose Yes.<br />Create a look up field between the Product Table and the Suppliers Table<br />
  34. 34. Wednesday, June 15, 2011<br />34<br />Add a new column<br />Step 3: Add a new column in the Products Table<br />Click on Click to Add<br />Select Lookup & Relationship<br /> <br />This action will launch the Lookup Wizard<br />
  35. 35. Choose the first option and click on Next<br />Step 4: The Lookup Wizard<br />Wednesday, June 15, 2011<br />35<br />
  36. 36. Choose the Supplier table to use the values for your lookup field and click on Next><br />Step 4: The Lookup Wizard<br />Wednesday, June 15, 2011<br />36<br />
  37. 37. <ul><li>Select the Supplier Namefor a lookup column
  38. 38. Click on SupplierName [1] and that click on > button [2] to copy the field</li></ul>Step 4: The Lookup Wizard<br />Wednesday, June 15, 2011<br />37<br />
  39. 39. Click on Next><br />Sort the records by SupplierName<br />Step 4: The Lookup Wizard<br />Wednesday, June 15, 2011<br />38<br />
  40. 40. Wednesday, June 15, 2011<br />39<br />Step 4: The Lookup Wizard<br />The wizard asks you how wide it should display columns. Leave the widths as set and click on Next><br />Change the default label Field1 into SupplierName<br />Tick the box next to Enable Data Integrity – that will ensure that you will not accidentally type in the name of an unknown supplier, without having their details already entered in the Suppliers table. <br />Click on Finish.<br />
  41. 41. Wednesday, June 15, 2011<br />40<br />Step 5: Display the relationship<br />Select the Database Tools[1]tab on the Ribbon <br />Locate the Relationships group click on Relationships [2]<br />Insert a screen shot of the Relationships Screen into your workbook.<br />
  42. 42. Now it's time to create forms. They make it easier and faster to enter and understand your data. They also put an attractive face on your database, and they let other users view only the data you want them to see.<br />The Form tool automatically creates a form that is connected to a single data source, either a table or a query. You select your data source, click a button, and Access creates the form. The new form displays all the fields in the data source, but you can remove any fields that you don't want to see.<br />Task 7 Creating Forms<br />41<br />Wednesday, June 15, 2011<br />
  43. 43. Wednesday, June 15, 2011<br />42<br />Create the form<br />Step 1: Create the form<br />In the Navigation Pane, select the Products table.<br />Click the Create tab, and in the Forms group, click Form. <br />Save your form as Products form.<br />Step 2: Insert a screen shotof the form into your workbook<br />
  44. 44. Wednesday, June 15, 2011<br />43<br />Task 8: Using Forms<br />Use the Products Form to enter in five (5) products that the suppliers from you Suppliers table sell. You will allocate an existing supplier to each product.<br />Ensure that Products table is closed<br />Enter the Product name<br />Enter the price<br />
  45. 45. Wednesday, June 15, 2011<br />44<br />Task 8 Using Forms<br />Select a supplier’s name from a SupplierName drop-down list:<br />Insert a screen shot of the Products Table in Data Sheet View into your workbook.<br />
  46. 46. So far you've designed and built the tables for a supplier-tracking database, and you've created relationships that allow your tables to "talk" with one another. Now it's time to create queries.<br />For example, if you want to know who sells a particular part that you need, you can build a query to fetch that data. Queries can also provide data for your forms and reports, and that can help make your database easier to build and use.<br />Task 9 Creating Queries<br />45<br />Wednesday, June 15, 2011<br />
  47. 47. Wednesday, June 15, 2011<br />46<br />Task 9 Creating Queries<br />A quick way to create a query is using the Query Wizard.<br />Click on Create tab<br />Select Query Wizard, and choose OK.<br />The Simple Query Wizard asks you questions and creates a query based on your answers.<br />
  48. 48. Wednesday, June 15, 2011<br />47<br />Task 9 Creating Queries<br />After a few moments, the first screen of the wizard is displayed. In this screen, you will tell the wizard which fields from which tables will be used in your query results.<br />Select Supplierstable<br />Double-click on SupplierName, WorkPhone and Email<br />
  49. 49. Wednesday, June 15, 2011<br />48<br />Task 9 Creating Queries<br />Select Products table<br />Double-click on ProductName and Price<br />Click on Next> to continue.<br />
  50. 50. Wednesday, June 15, 2011<br />49<br />Task 9 Creating Queries<br />The wizard will than ask if you need to see all fields or only the summary<br />Choose Detail <br />Click on Next><br />Type the name Supplies<br />Click on Finish<br />Insert a screen shot of the Query into your workbook<br />
  51. 51. Wednesday, June 15, 2011<br />50<br />The Report Wizard is a fast way to create a report with a large number of fields and a complex layout.<br />Click theCreate tab, and in the Reports group, click Report Wizard.<br />Select the Products table <br />Double-click to select ProductName and Price<br />Task 10: Create a Report that outlines products and your suppliers.<br />
  52. 52. Wednesday, June 15, 2011<br />51<br />Task 10: Create a Report that outlines products and your suppliers.<br />Select the Suppliers table<br />Double-click to select SupplierNameand WorkPhone fields.<br />Click on Next<br />
  53. 53. Wednesday, June 15, 2011<br />52<br />Task 10: Create a Report that outlines products and your suppliers.<br />Choose to view your data by products<br />Click on Next<br />Click on Finish and Access will display you Products report.<br />
  54. 54. Wednesday, June 15, 2011<br />53<br />Task 10: Create a Report that outlines products and your suppliers<br />Insert a screen shot of this report into your workbook<br />
  55. 55. You can share data between Access and Excel in many ways. You can copy data from an open worksheet and paste it into an Access datasheet, import a worksheet into an Access database, or simply load an Access datasheet into Excel using the Analyze it with Excel command.<br />Suppose you use Excel to store information about your company's computers. Over time, your worksheet has grown too big to manage easily — you have to scroll through too many columns and rows to find data, and that makes it hard to find answers. Importing that data into Access will make it easier to extract those answers because you can write queries, components that retrieve and process data quickly.<br />Task 11 (ICAU2013B Integrate Commercial Computing Packages)<br />54<br />Wednesday, June 15, 2011<br />
  56. 56. The import process follows these broad steps:<br />You start by cleaning up your data in Excel. For example, you remove any blank rows or columns, you make sure each column contains one type of data, such as dates or numbers, and you fix any errors such as #NUM or #DIV.<br />Next, you use the import wizard in Access to import the data to a new table.<br />Finally, you check your imported data for accuracy.<br />Task 11 (ICAU2013B Integrate Commercial Computing Packages)<br />55<br />Wednesday, June 15, 2011<br />
  57. 57. Open the spreadsheet program on your computer and create the following table:<br />Save the spreadsheet as Task 11 in WAVECPccess Folder and insert a screen shot into your workbook as Task 11 a.<br />Step 1: Create a spreadsheet<br />56<br />Wednesday, June 15, 2011<br />
  58. 58. Create a new blank database.<br />Go to the External Data Tab and select Excel<br />Step2: Import the data to the new Access database<br />57<br />Wednesday, June 15, 2011<br />
  59. 59. Browse for a spreadsheet that you’ve just created<br />Click OK<br />Step2: Import the data to the new Access database<br />58<br />Wednesday, June 15, 2011<br />
  60. 60. Click NEXT><br />Step2: Import the data to the new Access database<br />59<br />Wednesday, June 15, 2011<br />
  61. 61. Click to select that First Row Contains Column Headings<br />Click on Next<br />Step2: Import the data to the new Access database<br />60<br />Wednesday, June 15, 2011<br />
  62. 62. Click on Next to skip the next two steps<br /> Rename the table “Customers” and then Finish.<br />Step2: Import the data to the new Access database<br />Click on Close<br />61<br />Wednesday, June 15, 2011<br />
  63. 63. Create a report, sorting customers by State <br />Selectonly customers FirstName, LastName and State fields for your report.<br />Step 3: Create a Report<br />62<br />Wednesday, June 15, 2011<br />
  64. 64. Select the Stateas a sorting field and sort records in ascending order.<br />Step 3: Create a Report<br />63<br />Wednesday, June 15, 2011<br />
  65. 65. Select Tabular Layout<br />Keep Portrait Orientation<br />Click on Finish<br />Access will display your Customers report.<br />Insert a screen shot of your report into your workbook as a Task 11 b<br />Step 3: Create a Report<br />64<br />Wednesday, June 15, 2011<br />