DAY 20: MICROSOFT ACCESS – CHAPTER 3 CONTD. Aliya Farheen March 19, 2015.

Slides:



Advertisements
Similar presentations
Exploring Microsoft Access 2003 Chapter 5 One-to-Many Relationships : Subforms and Multiple Table Queries.
Advertisements

WBLE Training Prepared by : Albert Yong and Jass Kok Web-Based Learning Environment Version 1.0 (August 2009) Centre for Learning and Teaching.
Access Lesson 2 Creating a Database
Excel: Pivot Tables Computer Information Technology Section 6-18.
Access Tutorial 1 Creating a Database
COMPREHENSIVE Access Tutorial 2 Building a Database and Defining Table Relationships.
FIRST COURSE Access Tutorial 2 Building a Database and Defining Table Relationships.
Microsoft Access 2010 Chapter 7 Using SQL.
Microsoft Access 2007 Microsoft Access 2007 Introduction to Database Programs.
Access Tutorial 10 Automating Tasks with Macros
Chapter 2 Querying a Database
Chapter 2 Querying a Database MICROSOFT ACCESS 2010.
Microsoft Access 2010 Chapter 7 Using SQL. Change the font or font size for SQL queries Create SQL queries Include fields in SQL queries Include simple.
Chapter 1 Databases and Database Objects: An Introduction
Chapter 6 Advanced Report Techniques
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Access 2002 Advanced Report Design.
DAY 11: MICROSOFT EXCEL – CHAPTER 8 MICROSOFT EXCEL – CHAPTER 9 MICROSOFT EXCEL – CHAPTER 10 Aliya Farheen February
® Microsoft Office 2013 Access Building a Database and Defining Table Relationships.
Copyright 2007, Paradigm Publishing Inc. ACCESS 2007 Chapter 4 BACKNEXTEND 4-1 LINKS TO OBJECTIVES Query Design Query Criteria Modify a Query Using OR.
PIVOT TABLES AND CHARTS CS1100 Computer Science and its Applications CS1100Pivot tables and charts1.
1 By: Nour Hilal. Microsoft Access is a database software where data is stored in one or more Tables. A Database is a group of related Tables. Access.
FIRST COURSE Access Tutorial 4 Creating Forms and Reports.
DAY 4: MICROSOFT EXCEL: IN-CLASS PROJECT Aliya Farheen August 27, 2015.
® Microsoft Access 2010 Tutorial 2 Building a Database and Defining Table Relationships.
Concepts of Database Management Seventh Edition
EXAM-2 OVERVIEW Aliya Farheen
® Microsoft Office 2010 Building a Database and Defining Table Relationships.
Database Systems Microsoft Access Practical #3 Queries Nos 215.
WEEK# 2 Haifa Abulaiha August 24,
DAY 19: MICROSOFT ACCESS – CHAPTER 3 CONTD. Aliya Farheen March 17, 2015.
Microsoft Office 2007 Access Chapter 3 Maintaining a Database.
DAY 29: HOMEWORK 6 OVERVIEW Aliya Farheen April 29, 2015.
SESSION 3.1 This section covers using the query window in design view to create a query and sorting & filtering data while in a datasheet view. Microsoft.
® Microsoft Office 2013 Access Creating a Database.
Copyright 2007, Paradigm Publishing Inc. ACCESS 2007 Chapter 2 BACKNEXTEND 2-1 LINKS TO OBJECTIVES Creating Related Tables Creating Related Tables Determining.
There are seven main components of a database in Access 2000: Tables. Use tables to store database information. Forms Use forms to enter or edit the information.
Course ILT Forms and queries Unit objectives Create forms by using AutoForm and the Form Wizard, and add or modify form headers and footers Open and enter.
Microsoft Office 2003: Advanced 1 ADVANCED MICROSOFT ACCESS Lesson 10 – Analyzing Data.
O FFICE M ANAGEMENT T OOL - II B BA -V I TH. Abdus Salam2 Week-7 Introduction to Query Introduction to Query Querying from Multiple Tables Querying from.
INTRODUCTION TO QUERIES William Klingelsmith. Reminders MyITLab Lesson C due 10/22 Homework #4 (Nielson TV Problem) due 10/26 Last day to drop is also.
CHAPTER 1 – INTRODUCTION TO ACCESS Aliya Farheen March 5, 2014.
XP New Perspectives on Microsoft Office FrontPage 2003 Tutorial 7 1 Microsoft Office FrontPage 2003 Tutorial 8 – Integrating a Database with a FrontPage.
DAY 21: MICROSOFT ACCESS – CHAPTER 5 MICROSOFT ACCESS – CHAPTER 6 MICROSOFT ACCESS – CHAPTER 7 Aliya Farheen October 29,2015.
INTRODUCTION TO ACCESS. OBJECTIVES  Define the terms field, record, table, relational database, primary key, and foreign key  Create a blank database.
DAY 6: MICROSOFT EXCEL – CHAPTER 2 CONTD. Aliya Farheen September 3, 2015.
Customizing Reports Adding a Date to a Report Reference Window Adding a Date to a Report Display the report in the design view Click the Text Box Tool.
DAY 18: MICROSOFT ACCESS – CHAPTER 3 CONTD. Akhila Kondai October 21, 2013.
DAY 4: MICROSOFT EXCEL Aliya Farheen January 22, 2013.
MSOffice Access Microsoft® Office 2010: Illustrated Introductory 1 Part 1 ® Database & Table.
DAY 17: ACCESS CHAPTER 1-2 Rahul Kavi October 15,
COMPREHENSIVE Access Tutorial 1 Creating a Database.
Copyright 2007, Paradigm Publishing Inc. BACKNEXTEND 8-1 LINKS TO OBJECTIVES Import data from another Access table Import data from another Access table.
Copyright © 2014 Pearson Canada Inc. Ext. 5b-1 Copyright © 2014 Pearson Canada Inc. Application Extension 5b Using Microsoft Access Part 2: Using Information.
MICROSOFT ACCESS – CHAPTER 3 CONTD. Sravanthi Lakkimsetty Mar 14, 2016.
Access Tutorial 2 Building a Database and Defining Table Relationships
Access Tutorial 1 Creating a Database
Homework 6 Overview Fortune 500 Companies Problem
Access Tutorial 1 Creating a Database
Navya Thum March 04, 2013 Microsoft ACCESS Navya Thum March 04, 2013.
Exploring Microsoft Access 2003
Nagendra Vemulapalli Access chapters 3&5 Nagendra Vemulapalli 1/18/2019.
Chapter 1 Databases and Database Objects: An Introduction
Access Tutorial 2 Building a Database and Defining Table Relationships
Access Tutorial 2 Building a Database and Defining Table Relationships
Nagendra Vemulapalli Access chapters 3&6 Nagendra Vemulapalli
Access Tutorial 1 Creating a Database
Access Tutorial 1 Creating a Database
Shelly Cashman: Microsoft Access 2016
Nagendra Vemulapalli Access chapters 1&2 Nagendra Vemulapalli
Presentation transcript:

DAY 20: MICROSOFT ACCESS – CHAPTER 3 CONTD. Aliya Farheen March 19, 2015.

ANNOUNCEMENT MyITLab Lesson D is due on 4/6/2015 Monday by 11:59 pm. Based on the Microsoft Word Consist of seven chapters Plan yourself to complete before due date.

REMINDER Homework # 4 in Microsoft Access is now available at It is due by 4/3/2015 by P.M. Will have a homework review session in the next class.

TOTAL QUERIES “Totals” in a query can group field values and also perform basic computational functions on them To make the Total row appear, you need to click the Sigma symbol “Totals” button in query design view !

EXERCISE Go to the lecture notes page and Download Total_example.accdb.

PREMISE We are running an investment firm and have some consultants working for us who have clients for which they manage investments. We want a query that will show us how many clients each consultant has and the total amount of investments each consultant is handling… Save locally and open Total_example.accdb

STRUCTURE OF TABLES & RELATIONSHIP This Database has not yet had a relationship created. We will do it in the query for this one. Sometimes under special circumstances you will create them here instead of in the relationships window. Generally it is done in the relationships window though…

BUILDING THE TOTAL QUERY Create ribbon > Other group > Query Design Add both tables Create relationship inside query by dragging ConsultantID fields together

BUILDING THE TOTAL QUERY Add the field [Consultants]LastName Add the field [Clients]LastName Add the field [Clients]Assets Run it without Total options > back to design view Click the button on the Query Tools / Design ribbon to insert a “Total:” row Note that the default for each is “Group By”

BUILDING THE TOTAL QUERY We will Group By the last name of the consultants to show each of them singularly We will Count the last names of the clients as they are tied to the consultants to show how many clients each has ! We will Sum the assets of the clients to show how much all clients of each consultant have together

SETTING UP THE TOTAL ROW Have [Consultants] LastName as Group By Have [Clients] LastName as Count Have Assets as Sum Run the Query !

ALIASING THE FIELD NAMES Sometimes for a Field, a Calculated field, or a Total field, we like to make the display name more specific in the query results To do this, simply change the field name in design view by adding a new name and an “:” An example for the clients LastName field: # of Clients: LastName

ALIAS THE 3 FIELDS IN DESIGN VIEW Consultant: LastName # Clients: LastName Total Assets: Assets Run the Query and note the field names in the dynaset !

DOING MULTIPLE THINGS TO 1 FIELD Sometimes you may need to do multiple total query-type actions to a single field. Download and open the file CSDemo.accdb from the site

BACKGROUND FOR TOTAL QUERY Look at the contents of the Sales table We want to display our: Number of sales Total dollar amount of sales Average dollar amount sale

CREATING THE TOTAL QUERY Create a new query in design view Add the Sales Table Add the Amount field 3 Times ! ! ! Click button to show the Total row Set them to Count, Sum, and Average Run it ! Close Access

IMPORTING XML DATA TO TABLES Download and save Bands.xml file on the desktop External Data Ribbon > Import group > XML File Browse for the xml file Select Open & OK

IMPORTING XML FILES Verify Structure and Data is checked This brings in the table & its records Later in the course we will use other options Click OK and Close Open the table in the database !

IN CLASS PROJECT Go to todays lecture notes Download the data file Save the database file on to computer Collect the instruction file Start working on the Queries Project !