Advanced MS-Access for Power Users By Indiana University of Pennsylvania Eric Parks.

Slides:



Advertisements
Similar presentations
Loading Banner Web Applications Through The SSD Software AXIOM
Advertisements

T2 PowerPark and SCT Banner
Web CAPP Report Doug Rutledge Indiana University of Pennsylvania Monday, November 21, 2005.
Pennsylvania Banner Users Group 2008 Fall Conference IUP Banner Server Environment Jeff Montgomery.
Enrollment Management Unified Report (EMUR) Indiana University of Pennsylvania Jeff Montgomery.
Web-Based Application For Graduation Doug Rutledge and Rich DiStanislao Indiana University of Pennsylvania Monday, October 27, 2003.
Financial Aid Award Letters on the Web By Indiana University of Pennsylvania Carrie Lamont.
Microsoft Office Illustrated Fundamentals Unit K: Working with Data.
Office Links - Sharing Data in Microsoft Office A Mixed Bag of Treasures Chester N. Barkan Registrar Long Island University, C.W.Post Campus.
Oracle for Windows NT is required to run queries from the Banner database. Call the help desk at extension 4440 if you do not have this.
Concepts of Database Management Seventh Edition
Concepts of Database Management Sixth Edition
Concepts of Database Management Seventh Edition
XP Chapter 3 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Analyzing Data For Effective Decision Making.
SUNY Morrisville-Norwich Campus- Week 7 CITA 130 Advanced Computer Applications II Spring 2005 Prof. Tom Smith.
XP New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 11 1 Microsoft Office Excel 2003 Tutorial 11 – Importing Data Into Excel.
Creating a Blank Database 1. Open up Microsoft Access 2. Click on Blank document button 3. On the right panel, Specify the location for saving your database.
Access Tutorial 5 Creating Advanced Queries and Enhancing Table Design
Concepts of Database Management Sixth Edition
1 Chapter 2 Reviewing Tables and Queries. 2 Chapter Objectives Identify the steps required to develop an Access application Specify the characteristics.
Management Information Systems MS Access 2003 By: Mr. Imdadullah Lecturer, Department of M.I.S. College of Business Administration, KSU.
Tutorial 11: Connecting to External Data
MS Access: Database Concepts Instructor: Vicki Weidler.
Introduction to Database Systems
MS Access Advanced Instructor: Vicki Weidler Assistant:
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 1 1. Chapter 2: Relational Databases and Multi-Table Queries Exploring Microsoft Office.
Building The Database Chapter 2
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. ACCESS 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 4 – Creating New.
Databases C HAPTER Chapter 10: Databases2 Databases and Structured Fields  A database is a collection of information –Typically stored as computer.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 10 Database Performance Tuning and Query Optimization.
Chapter 10: Working with Large Data Spreadsheet-Based Decision Support Systems Prof. Name Position (123) University Name.
DAY 15: ACCESS CHAPTER 2 Larry Reaves October 7,
Miscellaneous Excel Combining Excel and Access. – Importing, exporting and linking Parsing and manipulating data. 1.
Copyright © 2007, Oracle. All rights reserved. Managing Concurrent Requests.
PHP meets MySQL.
Chapter 6 Generating Form Letters, Mailing Labels, and a Directory
Microsoft Access 2003 Define some key Access terminology: Field – A single characteristic or attribute of a person, place, object, event, or idea. Record.
Management Information Systems MS Access MS Access is an application software that facilitates us to create Database Management Systems (DBMS)
WEEK 11 Database Design. TABLE INSTANCE CHARTS Create Tables.
Concepts of Database Management Seventh Edition
Introduction to Databases Trisha Cummings. What is a database? A database is a tool for collecting and organizing information. Databases can store information.
Chapter 17 Creating a Database.
XP New Perspectives on Microsoft Access 2002 Tutorial 1 1 Microsoft Access 2002 Tutorial 1 – Introduction To Microsoft Access 2002.
MS Access 2007 Management Information Systems 1. Overview 2  What is MS Access?  Access Terminology  Access Window  Database Window  Create New Database.
Microsoft Office 2007 Access Chapter 3 Maintaining a Database.
Introduction to Enterprise Guide Jennifer Schmidt Rhonda Ellis Cassandra Hall.
XP New Perspectives on Microsoft Access 2002 Tutorial 1 1 Microsoft Access 2002 Tutorial 1 – Introduction To Microsoft Access 2002.
Enhancing Forms with OLE Fields, Hyperlinks, and Subforms – Project 5.
Access 2007 ® Use Databases How can Microsoft Access 2007 help you structure your database?
Copyright 2007, Paradigm Publishing Inc. ACCESS 2007 Chapter 3 BACKNEXTEND 3-1 LINKS TO OBJECTIVES Modify a Table – Add, Delete, Move Fields Modify a Table.
Maintaining a Database Access Project 3. 2 What is Database Maintenance ?  Maintaining a database means modifying the data to keep it up-to-date. This.
1/62 Introduction to and Using MS Access Database Management and Analysis Yunho Song.
XP New Perspectives on Microsoft Office FrontPage 2003 Tutorial 7 1 Microsoft Office FrontPage 2003 Tutorial 7 – Creating and Using Templates in a Web.
Microsoft FrontPage 2003 Illustrated Complete Creating a Form.
1 Data Manipulation (with SQL) HRP223 – 2010 October 13, 2010 Copyright © Leland Stanford Junior University. All rights reserved. Warning: This.
CHAPTER 1 – INTRODUCTION TO ACCESS Aliya Farheen March 5, 2014.
POPULATION SELECTION CONCEPT People in Database Selection Rules or Criteria Selected Population of Individuals who Satisfy Rules.
Lesson 4.  After a table has been created, you may need to modify it. You can make many changes to a table—or other database object—using its property.
Access Queries Agenda 6/16/14 Review Access Project Part 1, answer questions Discuss queries: Turning data stored in a database into information for decision.
Microsoft Access Database Creation and Management.
8 Chapter Eight Server-side Scripts. 8 Chapter Objectives Create dynamic Web pages that retrieve and display database data using Active Server Pages Process.
Visual Basic for Application - Microsoft Access 2003 Finishing the application.
NSF DUE ; Wen M. Andrews J. Sargeant Reynolds Community College Richmond, Virginia.
Databases Competency Explain advanced database concepts and functions.
Microsoft Office 2013 Try It! Chapter 4 Storing Data in Access.
Microsoft Access Lesson 5 Lexington Technology Center February 25, 2003 Bob Herring On the Web at
MICROSOFT ACCESS – CHAPTER 5 MICROSOFT ACCESS – CHAPTER 6 MICROSOFT ACCESS – CHAPTER 7 Sravanthi Lakkimsety Mar 14,2016.
Access Test Questions Test Date: 05/05/16. Chapter 1 (Lynda.com) Question 1 An access database uses five main components (database objects). Which is.
Microsoft Office Access 2010 Lab 1
Microsoft Office Illustrated Fundamentals
Presentation transcript:

Advanced MS-Access for Power Users By Indiana University of Pennsylvania Eric Parks

Presentation Goal Make you more efficient at : Identifying and working with Banner data to create queries Writing MS Access queries

About IUP 14,000 students; 1,800 employees Largest Member, SSHE 3 campuses; 1 center; 1 academy Doctoral I Clock-hour programs

Banner at IUP Implemented five baseline modules and three Web For products Banner 5.x (soon to be Banner 6) Oracle 9i, OAS (soon to be 9IAS) Sun Solaris

The Challenge Problem Statement We were seeing an increase in the number of MS Access users not following proper practices for creating reports and pulling Banner data

Topics Getting Started Other ways to get Reports/Data Compacting Poor Practices

Getting Started Defining your data 1. Defining your data Understanding your data 2. Understanding your data Presenting your results 4. Presenting your results Creating results 3. Creating results

Two Popular Methods Determine tables/views needed to create the query Via Banner Client Via Web site developed by IUP

Banner Form Within Banner Form with desired data Select the field with data you wish to use in your query and click Help >> Dynamic Help Query

The help form shows the field name which will point you to the correct table. FTVACCT is the table the field FTVACCT_ACCT_CODE is stored in.

Web Information Resource Web-site created by IUP Broken down by modules Lists tables and views along with comments on the fields

Primary Keys – Indexes If queries and reports use the indexed fields, then the query runs much faster If you use the indexed field in the underlying table associated with a view, the query will run faster even though views do not have listed indexes

Example: SPBPERS Query w/ Indexed field (SPBPERS_PIDM) Pidm is indexed so query zooms to correct record Super fast and efficient Query by non indexed field (SPBPERS_LEGAL_NAME ) Check 1 st record for match – no match then check 2 nd record for match etc until find match May go through MANY records to find match Very slow and resource consuming

Would be like trying to find a particular file folder without any labels. You would have to go through each one until you found the one you were looking for. However, if the folders were labeled (indexed) you could directly choose the correct one without having to look at all the other folders. Querying without an index

Application Tables (Base/Repeating) Base Table – ex SPBPERS Contains ONE record for each key SPBPERS_PIDM is the Key in this table so the output is one record per person Repeating Table ex SPRADDR Contains multiple records pointing back to a record in a base table

Validation Tables Used to verify values for a particular field; Values must be in the table in order to be allowed during data entry into an associated banner form Characteristics of Validation tables Have Code field and Description field The _Code in a field name indicates there may be an associated Validation table For reporting, the code field is often used to obtain the description from the validation table

Validation Tables Naming Conventions Example … STVATYP (address type) S -> module student T -> Table V -> Table type of Validation Last 4 characters refer to field name SPRADDR_ATYP_CODE field has an associated validation table named STVATYP

Views in depth A view is a subset of one or more tables Views can help optimize your applications The user only needs access to the view, not the underlying tables

Table 1 Field 1 Field 2 Field 3 Field 4 Table 2 Field 1 Field 2 Field 3 Field 4 Field 5 Field 6 Table 3 Field 1 Field 2 Field 3 Field 4 Field 5 Field 6 Field 7 VIEW Table 1: Field 1 Table 3: Field 1 Table 1: Field 2 Table 3: Field 2 Table 2: Field 1 Table 3: Field 3 Table 2: Field 4 Table 3: Field 4 Table 2: Field 6

sgvstd1 Fields … AS_Student_Data sgvstd2 Fields … Consists of fields from the following tables: Spriden sprtele spraddr sorfolk sgbstdn spbpers stvterm sprhold stvresd Fields…

Querying SCT Views with required fields Banner bookshelf or the hardcopy Reporting manual Search for the view name

Why Mandatory? In order to obtain information at the level identified by the key attributes, you must supply these conditions when you create your query The mandatory fields are the indexed fields/primary keys; When the indexed fields are used, the query is much more efficient When the mandatory conditions are met, a subset of the data is returned which also speeds the query and reduces stress on the Banner system

Example: AS_STUDENT_ENROLLMENT_SUMMARY Mandatory Conditions The following condition must be supplied for the view to report the information: Term Code -- Term_Code_Key

Student Listing Tim ParkerPA Tim ParkerPA Tim ParkerPA Allison SharpOR Anne TurnerIL Anne TurnerIL NameStatePhoneTerm Tim ParkerPA Allison SharpOR Anne TurnerIL NameStatePhoneTerm The mandatory condition TERM_CODE_KEY was not supplied, so there is a row for every term in the database The mandatory condition TERM_CODE_KEY = was supplied, so only the rows in that term were returned

Tables vs. Views Which one should you use? Use tables for linear/simple queries Use views for complicated queries involving multiple tables Security Issues A view may be used or created for sensitive data

Expression Builder Concatenation & or + can be used to join NAME: [LAST_NAME]+", "+[FIRST_NAME]+" "+[MIDDLE_INITIAL] Donlan, Michael J TERM: [TERM_DESC]&" (&[TERM_CODE_KEY]&") Spring 2003 (200250) for term IIf («expr», «truepart», «falsepart») Local: IIf([STATE1]="PA","IN STATE","OUT OF STATE") If state is PA then IN STATE would be displayed since it is true Left$ («stringexpr», «n») Year: Left$([TERM_CODE_KEY],4) 2002 for term Format («expr», «fmt») Date: Format([ENROLLMENT_ADD_DATE],"mm/dd/yyyy") Result example 10/10/2002

Comparison Operators LIKE Criteria for Last_Name Like Jon* would return Jones, Jonet etc Not equal <> Criteria for field State1 <>"PA" IN Criteria for field Last_Name In (Smith,Jones") Between Criteria for Enrollment_Add_Date Between #4/2/2002# And #4/4/2002# Better way to get values between two dates is: >= #4/2/2002# and < #4/5/2002# AND OR

Presenting MS Access Data MS Access Reports Word Merge Export HTML MS Excel Tab Delimited file Report Snapshot Reports to another format… Click on File >> Export from the menu and then choose the type Queries to another office product… Click on Tools >> Office Links from the menu

Other Reporting Vehicles Job Submission (Banner) Web Report

Tables and views can change with each new release. How do we know if there are view or table changes?

SCT Table & View Changes The release guide will show you new and changed tables/views. You can do a search using the find & find again buttons if you want to know if a particular table/view has changed.

Compacting the Database Compact databases once a week You can also set the db to compact on close Click Tools >> Options then choose the General tab.

Query Analyzing The query analyzer can be used to show helpful information such as table indexes, column properties, relationships, parameters etc. Click Tools >> Analyze >> Documenter and choose your query. Clicking the options button allows you to specify what you want to see in the documenter

Poor Practices Using MS Access to store and/or update information that is used for business purposes Queries that run for an extended period of time Poor Organization of databases Using Like or In on Key fields

Using MS Access to store and/or update information that is used for business purposes Banner should store all operational data and Access should be used to link to that data Data stored in Access would not be updated when a Banner transaction occurs and would therefore become out of date quickly If Access was used to store data, hard drive (or server) storage space would quickly become an issue

Queries that run for an extended period of time An extended period of time will vary based on the query; A query returning many records or containing many tables and views will take longer than a simple query Closing your MS Access database does not stop the query from running behind the scenes

Poor Organization of databases Good naming conventions on databases allow users to easily identify the database purpose the query or report purpose Copying an entire database to get a single query is not advised; You can import the query or report into your database from another Access database; This prevents multiple copies of the same/similar databases

Using Like or In on Key fields Using Like or In dramatically decreases query performance when used on a key field Always specify the key field (such as Term) then if needed use like or in on a secondary field

Questions Eric Parks