Presentation is loading. Please wait.

Presentation is loading. Please wait.

What is a Database? How is a Database use? How to set up in Access?

Similar presentations


Presentation on theme: "What is a Database? How is a Database use? How to set up in Access?"— Presentation transcript:

1 What is a Database? How is a Database use? How to set up in Access?

2 What is a database? Database=collection of data organized for fast search and retrieval. Examples?

3 What is a Database? If you worked for a business with thousands of customers and tens of thousands of orders, how would you keep track of all your information? Access helps you obtain the information you want quickly through reports, forms and charts. How might PCHS use an Access database?

4 Terms to Know! Database - a collection a data organized for fast search and retrieval Database Application – a program used to create databases and programs to track and manage information. Database objects - the parts of a database, such as tables, forms, reports, and queries

5 More Terms to Know! Table-a collection of data about a specific subject arranged in rows and columns Query-a set of instructions that retrieves data from one or more tables Form-an onscreen display where data can be added or changes Report-a presentation of data formatted and organized for printing

6 Just a Few More Terms to Know!
Field – column in a table; name of the type of info to be keyed (example: Name, Address, Phone) Record – Row in a table; Individual information (example: Mrs. Weser, 123 Main Street, ) Primary Key – An unique number assigned to each record. A way of tracking records through database. MUST be included!

7 Creating a database

8 Creating a database part 2

9 Assignment SAVE Database ACTIVITIES_LAST NAME
Save each table as instructed in your textbook. Activity 1 page 520 – Creating DT1 Activity 2 page 521 – Creating DT2 Demo

10 Open Note Quiz What is a Database? What are Database objects?
List 4 database objects? What are rows called in Access? What is a primary key?

11 Open Note Quiz What is a Database? What are Database objects?
List 4 database objects? What are rows called in Access? What is a primary key?

12 Creating a Database

13 Demo of Revising Revising Adding Fields Moving Fields

14 Assignment Continue working in you ACTIVITIES Database! READ Instructions to make sure you open the correct data table! Activity 3 page 524 – Revising Activity 4 page 524 – create new Activity 5 page 525 – Revising Activity 6 page 528 – Revising Activity 7 page 528 – Revising Science Connection on page 525

15 About Data Types A Little about Data Types:
Only number and currency can be “mathed”. Also note that a zip code is NOT number! Setting a number to currency will give you $ so you will not have to type each time.

16 Moving around Access To move: Keys One field left  One field right 
One line up One line down Leftmost field HOME Rightmost field END Down one window Page Down Up one window Page Up To first record CTRL + HOME To last record CTRL + END

17 Assignment (print each)
Activity 8 page Activity 9 page 532 Activity 10 page 533 Activity 11 page Be sure to READ your instructions!!

18 Today’s Assignment Pages 399-405.
You will be working with a total of 4 different databases. Make sure you have a separate Access file for each!!

19 Access Day 2 Specify Size of each Field Revising and Adding Records
Add, Rename, Position Fields

20 Specify size of each field

21 Adding and Editing Records

22 Rename, Add, Position Fields
RIGHT CLICK RIGHT CLICK

23 Access Day 3 Monetary and numeric fields Keyboard short cuts

24 Which data type would the following be?
Price Zip Code (no dash) Inventory GPA Address Income Salary Date of Statehood

25 Editing Records (in tables)
To move: Keys One field left One field right One line up One line down Leftmost field HOME Rightmost field END Down one window Page Down Up one window Page Up To first record CTRL + HOME To last record CTRL + END

26 Assignment-open ACTIVITIES
Remember to read the instructions in RED to make sure you are working in the correct table. Activity 8 page 531 Activity 9 page 532 Activity 10 page 533 Activity 11 page 537

27 Assignment View Review/tutorial found on edline Page (Access Review)
Complete activity on pages Save your activities_Last name file and upload it to Google Docs

28 Assignment 2 -- SHOES Create a database (NEW file…not in ACTIVIES) called SHOES_Last name. Save in the SHARED folder. Set up all the fields you would have for the inventory of an online shoe store database. Type a paragraph explaining your thought process for each field and how your database would be easy to use for the shoe store.

29 ACCESS-Day 4 Sorting and Queries

30 Sorting Used to arrange records in a specific order. (Alphabetical, Numerical) Can be done on 1 field or on multiple fields Ascending and Descending Example: Sort addresses based on state

31 Right Click on the Field Name Choose Ascending or Descending
Single Sort Right Click on the Field Name Choose Ascending or Descending

32 A simple way to go back to the way the info was presented before the sorting is to sort based on ID number All of the records are still there, they are simply now in a different order. Notice that all the info for each record moves, not just the sorted field

33 Multiple Sort Used for a more advanced sort. Use Advanced Filter/Sort
Example: To sort by city AND state Use Advanced Filter/Sort

34 Advanced Filter/Sort screen

35 All of the field names for this table
Primary Secondary

36 Setting up the sort Select your field names from the drop down menu
Select your sort method from the drop down as well Setting up the sort

37 Once you have your sort info plugged in click on Apply Filter/Sort

38 Records are now sorted by city and state.

39 Query Query is a Question posed to your database in order to retrieve information Remember that a Database is a collection a data organized for fast search and retrieval Data retrieval is done through queries Google

40 To set-up a simple query
Choose create query by using wizard Click on Queries in the objects window

41 Choose the table you would like to use
Use the arrows to move the fields to the selected fields box Highlight the fields you would like to use

42 Give your query a meaningful name

43 Only the fields requested appear
Query Only the fields requested appear

44 Set-up more advanced query
Follow the same steps for a simple query

45 Give your query a meaningful name

46 Ascending or Descending Check on to show, off to hide
Sort Show Criteria Or Ascending or Descending Check on to show, off to hide This is where you can plug in information to yield very specific results

47 Question: What are the names of the software packages that are designated as Education (stock number starts with E)?

48 Click the X to close the query design window and be prompted to save

49 Select your query from the objects

50 Finished Query

51 Assignment Finish Yesterday’s lesson (Act. 11 & SHOES)
Activity pages

52 Creating a NEW Database
Today’s first lesson will be in creating a new database and keying in data using a table. Recall

53 Now you can key in info as you did yesterday

54 Creating a NEW table in a Database
Open the database (be sure to be on the correct one…double check the directions) Click on Create Table in Design View Continue the process

55 Adding new Fields to a Table
Right Click on the Table in the objects window and choose Design View

56 This will pull up the Table design view.
Make any additions to field names. Remember the rules about Data Types

57 Today’s Assignment Pages Read the instructions!!

58 Access Day 3 Editing Records Single Sorts Multiple Sorts

59 Open Note Quiz Which data type would the following be
Price Zip Code (no dash) Beginning Inventory GPA Address What are the names of the 4 databases you should have saved in your folder?

60 Open Note Quiz Currency Number Number Number Text
Which data type would the following be Price Zip Code (no dash) Beginning Inventory GPA Address What are the names of the 4 databases you should have saved in your folder? Currency Number Number Number Text AE Bank, Software Professionals, Rockwell Technologies, Eastwick School of Dance

61 Editing Records Practice using keystrokes instead of reaching for your mouse to move around This will increase your speed and you will become more efficient in your work

62 Editing Records (in tables)
To move: Keys One field left One field right One line up One line down Leftmost field HOME Rightmost field END Down one window Page Down Up one window Page Up To first record CTRL + HOME To last record CTRL + END

63 Editing Records (in forms)
To move: Keys Next field Previous field Top of form HOME Bottom of form END Next record Page Down Previous record Page Up First record CTRL + HOME Last record CTRL + END

64 Sorting Used to arrange records in a specific order. (Alphabetical, Numerical) Can be done on 1 field or on multiple fields Ascending and Descending Example: Sort addresses based on state

65 Right Click on the Field Name Choose Ascending or Descending
Single Sort Right Click on the Field Name Choose Ascending or Descending

66 A simple way to go back to the way the info was presented before the sorting is to sort based on ID number All of the records are still there, they are simply now in a different order. Notice that all the info for each record moves, not just the sorted field

67 Multiple Sort Used for a more advanced sort. Use Advanced Filter/Sort
Example: To sort by city AND state Use Advanced Filter/Sort

68 Advanced Filter/Sort screen

69 All of the field names for this table
Primary Secondary

70 Setting up the sort Select your field names from the drop down menu
Select your sort method from the drop down as well Setting up the sort

71 Once you have your sort info plugged in click on Apply Filter/Sort

72 Records are now sorted by city and state.

73 Today’s Assignment Pages 409-412
If you did not finish yesterday’s assignment, do that FIRST Beginning with Activity 3 on page 411, you’ll be keying your answers into a Word file. You MUST include the question.

74 Access Day 4 Review Queries

75 Open Note Quiz When would you use a single sort?
When would you use a multiple sort? Step-by-step, how do you set up a single sort? Step-by-step, how do you set up a multiple sort? How can you quickly move to the last record in a table?

76 To alphabetize or numerically sort by one field name (ex: last name)
Open Note Quiz When would you use a single sort? When would you use a multiple sort? Step-by-step, how do you set up a single sort? Step-by-step, how do you set up a multiple sort? How can you quickly move to the last record in a table? To alphabetize or numerically sort by one field name (ex: last name) To alphabetize or numerically sort by multiple field names (ex: last name and city)

77 Access Day 5 Queries Reports

78 Open Note Quiz What is a database? What are the database objects?
What’s difference between a form and a table? How do you set up a new database? How do you set up a new table within a database?

79 Query Query is a Question posed to your database in order to retrieve information Remember that a Database is a collection a data organized for fast search and retrieval Data retrieval is done through queries Google

80 To set-up a simple query
Choose create query by using wizard Click on Queries in the objects window

81 Choose the table you would like to use
Use the arrows to move the fields to the selected fields box Highlight the fields you would like to use

82 Give your query a meaningful name

83 Only the fields requested appear
Query Only the fields requested appear

84 Set-up more advanced query
Follow the same steps for a simple query

85 Give your query a meaningful name

86 Ascending or Descending Check on to show, off to hide
Sort Show Criteria Or Ascending or Descending Check on to show, off to hide This is where you can plug in information to yield very specific results

87 Question: What are the names of the software packages that are designated as Education (stock number starts with E)?

88 Click the X to close the query design window and be prompted to save

89 Select your query from the objects

90 Finished Query

91 Reports 3 functions of a report
Summarizing: Usually, only a portion of the data in the database is needed for a particular application (example: may need names and addresses for a contact list, but you do not need sales information)

92 Reports 3 functions of a report (cont)
Formatting: Reports can be formatting for easy reading. Wizard will do this for you Printing: Once the data has been specified and formatted, professional-looking copies can be printed for information and decision-making purposes

93 Then Double-Click Create report by using wizard
Click on reports

94 Use the arrows to select the fields you want to include in your report

95 Once you have all of your fields, click next.

96 No groupings are needed! Just click next

97 Select which fields you need to sort and choose Ascending or Descending

98 Choose your layout style, click next

99 Choose your font style, click next

100 Give your report a name and click finish

101 A finished report. Print this!

102 Assignment Activities page 546. PRINT and Turn in!

103 Mail merging You can use the information in your database to create:
Form letters Mailing labels Envelopes

104 Assignment Read pages 414-415
Use queries to answer questions on page 416. Type the Questions and Answers in a WORD document and save in your shared folder

105 Access Day 6 Review Finish Queries

106 Review Questions What is a Database? What are the 4 database objects?
What is a Query? Why would you use a query instead of a sort? How do you set up an advanced query?

107 Today’s Assignment Finish through page 416 Complete query worksheet
Type 2 page report about your Thanksgiving break

108 Access Day 6 Calculated (Computed) Fields

109 Computed (or calculated) fields
Used to add or average information into new fields. Example: Average of July and August Sales. To set-up: use Expression Builder

110 Set up a new query Type in the field names using [Brackets]
In field type the formula you wish to use Type in the field names using [Brackets]

111 Recall In Excel, you used formulas to add, average and do other calculations on columns of numbers Same process involved in Access

112 Open your query in design view and change the Expr1: notation to the name of your new field (ie total sales)

113 Assignment Page 418 – calculated fields
Continue through pages ON YOUR OWN If you finish, go on to the reports section. We will cover this as a class tomorrow Access Quiz will be Thursday

114 Assignment Read page 421-422 (take notes as needed)
Complete the reports on page 423. (print and turn in) Type the letters on page 424 and 426 (DO NOT TYPE ANYTHING IN PINK) Tomorrow as a group, we will complete the mail merging for the letters and for labels.


Download ppt "What is a Database? How is a Database use? How to set up in Access?"

Similar presentations


Ads by Google