Chapter Extension Using Microsoft Access 2010 Study Questions Q1: How you create tables? Q2: How you create relationships? Q3: How you create a data entry form? Q4: How you create queries using the query design tool? Q5: How you create a report? Copyright © 2014 Pearson Education, Inc Publishing as Prentice Hall CE5-2 Q1: How Do I Create Tables? PROSPECT (ProspectID, Name, Street, City, State, Zip, Create tables from data model Email Address) WORK (ProspectID, Date, Hour, NumCalls, TotalDonations) Link tables • Select primary keys Select foreign keys Copyright â 2014 Pearson Education, Inc Publishing as Prentice Hall CE5-3 Attributes of the Database Copyright © 2014 Pearson Education, Inc Publishing as Prentice Hall CE5-4 Sample Data Copyright © 2014 Pearson Education, Inc Publishing as Prentice Hall CE5-5 Opening Access 2010 Copyright © 2014 Pearson Education, Inc Publishing as Prentice Hall CE5-6 Creates Default Table Named Table1 Copyright © 2014 Pearson Education, Inc Publishing as Prentice Hall CE5-7 Review: Sequence of Steps for Creating a Database with Access 2010 Click on folder icon to browse Click on Blank to a folder to save database database Blank table opens Click on Enter file name in lower Create right-hand corner box Copyright © 2014 Pearson Education, Inc Publishing as Prentice Hall CE5-8 Creating a Database with Access 2010 (cont’d) • • • • Click View icon Select Design View in drop-down list Enter table name in pop-up box Window changes to Design View Copyright © 2014 Pearson Education, Inc Publishing as Prentice Hall CE5-9 Creating Tables in Access - Step 1: Declaring Field Names and Data Types • Upper part Enter name of each attribute (Fields) Enter Data Type Enter Description • Bottom part Declare field properties Copyright © 2014 Pearson Education, Inc Publishing as Prentice Hall CE5-10 Step 2: Query Design Form Copyright © 2014 Pearson Education, Inc Publishing as Prentice Hall CE5-29 Creating a Query: Step Copyright © 2014 Pearson Education, Inc Publishing as Prentice Hall CE5-30 Results of TotalDonations Query Copyright © 2014 Pearson Education, Inc Publishing as Prentice Hall CE5-31 Results of More Advanced Query Copyright © 2014 Pearson Education, Inc Publishing as Prentice Hall CE5-32 Q5: How Do I Create a Report? Select table, add Click Create Table/ Queries Click > Select Highlight table and Report fields fields Click Add fields Finish Wizard Copyright © 2014 Pearson Education, Inc Publishing as Prentice Hall CE5-33 Selecting Data to Show in a Report Copyright © 2014 Pearson Education, Inc Publishing as Prentice Hall CE5-34 Report on Donations by Prospect Copyright © 2014 Pearson Education, Inc Publishing as Prentice Hall CE5-35 Report Design View Copyright © 2014 Pearson Education, Inc Publishing as Prentice Hall CE5-36 Grouping and Totaling Click Group & Sort in Grouping & Click down arrow See result next Totals to “with no totals” slide Click Report icon in Click More Copyright © 2014 Pearson Education, Inc Publishing as Prentice Hall View CE5-37 Creating a Sum of TotalDonations for Each Prospect Copyright © 2014 Pearson Education, Inc Publishing as Prentice Hall CE5-38 Report with Sum of TotalDonations Copyright © 2014 Pearson Education, Inc Publishing as Prentice Hall CE5-39 Increasing Size of Fields Select Layout View from View in the ribbon, click Date Slide it slightly to left Do same with Hour Expand NumCalls Copyright © 2014 Pearson Education, Inc Publishing as Prentice Hall CE5-40 Final Version of Report Copyright © 2014 Pearson Education, Inc Publishing as Prentice Hall CE5-41 Active Review Q1: How you create tables? Q2: How you create relationships? Q3: How you create a data entry form? Q4: How you create queries using the query design tool? Q5: How you create a report? Copyright © 2014 Pearson Education, Inc Publishing as Prentice Hall CE5-42 CE5-43