Access Basics: When and How

Similar documents
MIS 0855 Data Science (Section 006) Fall 2017 In-Class Exercise (Day 18) Finding Bad Data in Excel

Power Query for Parsing Data

Workbooks (File) and Worksheet Handling

The QuickStudy Guide for Zoho CRM

Mail Merge Quick Reference Guide

Word: Print Address Labels Using Mail Merge

Excel 2016 Advanced. Course Objectives

Mastering the Actuarial Tool Kit

Filter and PivotTables in Excel

Slicing and Dicing Data in CF and SQL: Part 2

Safari ODBC on Microsoft 2010

CMPSCI 105: Lecture #12 Searching, Sorting, Joins, and Indexing PART #1: SEARCHING AND SORTING. Linear Search. Binary Search.

Shawn Dorward, MVP. Getting Started with Power Query

CIS 45, The Introduction. What is a database? What is data? What is information?

Welcome to Excel Classified Employees Week Training May 24, 2013

Working Data Magic with Calculations

Making Excel Work for Your Tribal Community

BASIC EXCEL SYLLABUS Section 1: Getting Started Section 2: Working with Worksheet Section 3: Administration Section 4: Data Handling & Manipulation

TABLE OF CONTENTS. TECHNICAL SUPPORT APPENDIX Appendix A Formulas And Cell Links Appendix B Version 1.1 Formula Revisions...

Introduction to Access 97/2000

Introducing Microsoft Office Specialist Excel Module 1. Adobe Captivate Wednesday, May 11, 2016

1 Introduction to Using Excel Spreadsheets

2. In Video #6, we used Power Query to append multiple Text Files into a single Proper Data Set:

Creating a Directory with a Mail Merge from an Excel Document

Quick Start Guide. Copyright 2016 Rapid Insight Inc. All Rights Reserved

HOW TO PERFORM A MAIL MERGE (Microsoft Office 2003)

Database Design. A Bottom-Up Approach

Basic tasks in Excel 2013

Lifehack #1 - Automating Twitter Growth without Being Blocked by Twitter

Welcome to Cole On-line Help system!

EVALUATION COPY. Unauthorized Reproduction or Distribution Prohibited EXCEL INTERMEDIATE

Software Needed Any word processing application: Word, Word Perfect, AppleWorks, ClarisWorks, WordPad, etc. LEVEL 1 Word Processing Mini WP 1

Google Drive: Access and organize your files

Querying Data with Transact SQL

EXCEL BASICS: MICROSOFT OFFICE 2007

Shawn Dorward, MVP. Getting Started with Power Query

User Manual Mail Merge

COGNOS BI I) BI introduction Products Introduction Architecture Workflows

MS Excel How To Use VLOOKUP In Microsoft Excel

«Information and communication technologies» Practical work 5. Databases

Database Systems CSE 414

Chamberlin and Boyce - SEQUEL: A Structured English Query Language

4th Quarter Communicating with Fans and Advertisers Using Databases

Storing data in databases

Frequently Asked Questions

Survey of Math: Excel Spreadsheet Guide (for Excel 2016) Page 1 of 9

INTERMEDIATE SQL GOING BEYOND THE SELECT. Created by Brian Duffey

Asking for information (with three complex questions, so four main paragraphs)

Relativity. User s Guide. Contents are the exclusive property of Municipal Software, Inc. Copyright All Rights Reserved.

UAccess ANALYTICS Next Steps: Working with Bins, Groups, and Calculated Items: Combining Data Your Way

Copyright 2018 by KNIME Press

Microsoft Power Tools for Data Analysis #7 Power Query 6 Types of Merges/ Joins 9 Examples Notes from Video:

MS Office 2016 Excel Pivot Tables - notes

How to Excel - Part 2

Excel Level Three. You can also go the Format, Column, Width menu to enter the new width of the column.

INF 212 ANALYSIS OF PROG. LANGS SQL AND SPREADSHEETS. Instructors: Crista Lopes Copyright Instructors.

Using Microsoft Access

Welcome to Introduction to Microsoft Excel 2010

Northern New York Library Network. Jim Crowley. Course objectives. Course description. Schedule. Workshop

Further GroupBy & Extend Operations

Microsoft Access 2010

Sun City Summerlin Computer Club Seminar. Introduction to Microsoft Excel Tom Burt April 30, 2014

ensync: Your Certified Oracle Partner

Navigating a View. 1. The Tableau logo is a link to the Tableau Server home page.

Paper ###-YYYY. SAS Enterprise Guide: A Revolutionary Tool! Jennifer First, Systems Seminar Consultants, Madison, WI

Word: Mailing Lists and Mail Merge

Building and Testing Packages with the Workbench

EST151: Maintain Parts

How to import text files to Microsoft Excel 2016:

EXCEL BASICS: MICROSOFT OFFICE 2010

SPIDER Annual Reports

Community Health Maps Lab Series

Microsoft Access 2013

Microsoft Access 2013

Adding Information to a Worksheet

Excel: Tables, Pivot Tables & More

Programming in OOP/C++

A Step by Step Guide to Postcard Marketing Success

CGS 3066: Spring 2017 SQL Reference

Section 2.2: Relational Databases

Excel Using PowerPivot & Power View in Data Analysis

Excel Level 2

Using Mail Merge in Microsoft Word 2003

Science, Technology, Engineering and Math Revised Summer 2017 Division Implemented Fall COURSE OUTLINE Advanced Computer Applications

I T Skills Summary Booklet

Intermediate Tableau Public Workshop

SAS (Statistical Analysis Software/System)

More on MS Access queries

Sun City Summerlin Computer Club Seminar. Introduction to Microsoft Excel. Tom Burt June 30, 2016

SAS (Statistical Analysis Software/System)

Getting started with R-Tag Viewer and Scheduler (R-Tag Report Manager)

SQL JOINs and VIEWs. Chapter 3.3 V4.0. Napier University

Background. $VENDOR wasn t sure either, but they were pretty sure it wasn t their code.

Membership Application Mailmerge

Introductory SQL SQL Joins: Viewing Relationships Pg 1

INTRODUCTION BACKGROUND DISCOVERER. Dan Vlamis, Vlamis Software Solutions, Inc. DISCOVERER PORTLET

GOOGLE SHEETS MANAGING YOUR DATA

Integrating TCP with Word to Create New Merge Forms.

My Top 5 Formulas OutofhoursAdmin

A detailed comparison of EasyMorph vs Tableau Prep

Transcription:

Access Basics: When and How Hal Jankowski CACUBO Winter Workshop Kansas City, MO April 2014 Learning outcome disclaimer Access is a complex tool that requires significant hands on time to become familiar. It is too complex to become proficient in an hour. The intention of this program is to introduce the concepts of Access/databases and provide just enough knowledge to know when Access is a better tool than Excel. To become proficient, you must take a hands on course or series of courses and invest hours, perhaps days, learning, experimenting, reading, and experiencing bad data, bad structures, hung queries, and ugly reports.

Learning Outcomes Orient to data What is Access? Terms Working with Data/Pick the Right Tool Viewing Data/Reporting More advanced tools Orient to data We deal in a collection of data every day. The question is what is the best tool for the job

Orient to data Excel Good for calculations Good when data doesn t repeat Good when all data exists in only a few sheets Good when data doesn t change Good for simple reporting (e.g. mailmerge) Access Good when segments of data repeat Good when multiple sources of data Good when data change and changes need to be reflected elsewhere Good for complex reporting Orient to data

What is Access? Microsoft Access is a database management program that combines a database engine with a graphic interface for interacting with that data. It is particularly useful when a user doesn t have extensive programming experience or resources to program a full fledged desktop or web application. Terms Access Field. The most basic unit of data Record. A collection of related fields Table. A collection of related records Database. A collection of related tables, records, and fields of data Excel Equivalent Column Row Worksheet Workbook F i e l d Record Table

Working with data/pick the right tool Take a dataset and separate out the data fields to the point where each record is 100% unique. Working with data/pick the right tool Hal s rule of thumb. Access is the wrong tool unless: More than ~1,000 unique records -OR- More than 3 tables -OR- Mailmerge won t work for reporting -OR- Data isn t static/data integrity is critical to project

Working with data/pick the right tool More than ~1,000 unique records Why? Manipulation becomes cumbersome after a certain point--what if you don t copy a formula or sort ALL of the data? Working with data/pick the right tool More than 3 tables Why? Multiple lookups and nested IF formulas are ugly (and hard to manage): =IF(ISNA(VLOOKUP(A130,Exceptions!$A$2:$B$1048576,2,FALSE))=TRUE,"N","Y") =IF(L130="Y",VLOOKUP(A130,Exceptions!$A$2:$B$1048576,2,FALSE),"") =IF(L169="Y",VLOOKUP(A169,Exceptions!$A$2:$C$1048576,3,FALSE),"") =IF(G242="N",IF(AND(E242="G",F242="Y"),MIN(400,40*IF(L242="Y",N242,C242)), IF(AND(E242="U",F242="Y"),MIN(400,34*IF(L242="Y",N242,C242)), IF(AND(E242="G",F242="N"),MIN(450,45*IF(L242="Y",N242,C242)),MIN(450,38*IF(L242="Y",N242,C242))))), SUM(I242:J242))

Working with data/pick the right tool Mailmerge won t work for reporting Why? Mailmerge is great when there is one record per recipient. When there is more than one, each recipient will get two (or more!) items. There is a way to combine these items in Word, but it s hard, and you need to know SQL anyway, so why not do it in Access? Working with data/pick the right tool Data isn t static/data integrity is critical to project Why? Finding all the right fields to update in a massive spreadsheet is time consuming and prone to error/omission. Example--a key vendor changed addresses.

Which tool? Name Street Address City State Zip Phone Birthday John Doe 123 Street Road City ST 12345 123-456-7890 1/2/68 Jane Smith 987 Avenue Court Town ST 23456 123-987-6543 6/5/47 John Smith 456 Road Blvd Village ST 34567 123-321-0987 6/5/58 Jane Doe 6 High Rise Dr, #1 City ST 12346 123-654-7890 9/8/81 Which tool? Name Order Number Order Date Product Quantity Jane Smith 1234 4/9/2014 Erasers 3 Jane Smith 1234 4/9/2014 Pencils 2 Jane Smith 1235 4/10/2014 Erasers 2 Bob Jones 1233 4/9/2014 Pencils 10 John Doe 1232 4/9/2014 Pencils 15 John Doe 1236 4/10/2014 Trash Can 3 John Doe 1237 4/11/2014 Trash Bag 200

Which tool? Name Order Number Order Date Product Quantity Jane Smith 1234 4/9/2014 Erasers 3 Jane Smith 1234 4/9/2014 Pencils 2 Jane Smith 1235 4/10/2014 Erasers 2 Bob Jones 1233 4/9/2014 Pencils 10 John Doe 1232 4/9/2014 Pencils 15 John Doe 1236 4/10/2014 Trash Can 3 John Doe 1237 4/11/2014 Trash Bag 200 Which tool? Customer Table Customer ID Customer Name Other unique info, e.g. address (maybe) telephone (maybe), customer anniversary, etc Product Table Product ID Product Supplier Product Name Product Price (maybe) Other unique info, e.g. dimensions, description, etc Order Detail Table Order ID Product ID Quantity Order Summary Table Order ID Order Date Customer ID

Viewing data/reporting SELECT session_info.event_id, session_info.session_id, session_participant_names.email_address, session_participant_names.first_name, session_participant_names.last_name, session_info.title, content_area_info.content_area_name, session_info.rec_credit, instruct_method_info. instruct_method_name, session_info.session_date, event_info.event_name, event_info.location FROM instruct_method_info INNER JOIN (event_info INNER JOIN (content_area_info INNER JOIN (session_info INNER JOIN session_participant_names ON (session_info.session_id = session_participant_names.session_id) AND (session_info.event_id = session_participant_names. event_id)) ON content_area_info.content_area_id = session_info.content_area_id) ON event_info. event_id = session_info.event_id) ON instruct_method_info.instruct_method_id = session_info. instruct_method_id WHERE (((session_info.event_id)=[enter Event ID])); Viewing data/reporting

Viewing data/reporting Viewing data/reporting Define relationships One-to-one (should be all one table ) One-to-many (one customer has many orders; one order has many products) Define how data is joined Inner join Outer join Sometimes a diagram helps

More advanced tools Forms Reports Write queries Crosstab queries Union queries ODBC Custom functions Additional resources Access: The Missing Manual http://allenbrowne.com/tips.html Google (seriously) I use all of these, nearly all the time. There are a lot of smart people who have posted good information to the web--unless you are doing something REALLY complex, you can usually find the answer online.

Questions Hal Jankowski jankowhl@uc.edu