More Pass-Through Queries! Evaluation Code 245 Dan DeBower Technical Consultant SCT Tuesday, March 26 th, 2002 8:00am – 9:30am.

Slides:



Advertisements
Similar presentations
Time Sheet Training Press the F5 Key to view the Presentation. It may be helpful to have a printed copy of this slide presentation for the practice sessions.
Advertisements

Module 3: Block 3 Call Management
1 IDX. 2 What you will learn: What IDX is Why its important How to use it Tips and tricks Introduction Q & A.
NWCA OPC Coaches Tutorial Roster, Schedules, Weigh-Ins, Results, and Reports.
1 Site Editing on the Portal. 2 After signing on, click on the plus sign for Sites :
S the of partnership power Evaluation Code 030 Presenter: Laura Key, Taylor University Monday, April 9th - 8:30 AM Building a Self- Refreshing MS Access.
S the of partnership power Evaluation Code Presenter: Dan DeBower Technical Consultant Systems & Computer Technology Corp. Tuesday,
MS Access Reporting (BOF) Evaluation Code 303 Bruce Knox University of Arkansas Cooperative Extension Service Bruce Loving University of North Carolina.
1 All Powder Board and Ski Microsoft Access Workbook Chapter 10: Database Administration Jerry Post Copyright © 2007.
BASIC SKILLS AND TOOLS USING ACCESS
Slide 1 FastFacts Feature Presentation August 14 th, 2008 We are using audio during this session, so please dial in to our conference line… Phone number:
Slide 1 FastFacts Feature Presentation August 28, 2008 We are using audio during this session, so please dial in to our conference line… Phone number:
Slide 1 FastFacts Feature Presentation September 4, 2012 To dial in, use this phone number and participant code… Phone number: Participant.
Slide 1 FastFacts Feature Presentation February 17, 2011 We are using audio during this session, so please dial in to our conference line… Phone number:
Slide 1 FastFacts Feature Presentation September 7, 2010 We are using audio during this session, so please dial in to our conference line… Phone number:
Slide 1 FastFacts Feature Presentation April 9, 2012 To dial in, use this phone number and participant code… Phone number: Participant code:
Slide 1 FastFacts Feature Presentation March 11th, 2008 We are using audio during this session, so please dial in to our conference line… Phone number:
Slide 1 FastFacts Feature Presentation October 12, 2010 We are using audio during this session, so please dial in to our conference line… Phone number:
Slide 1 FastFacts Feature Presentation October 19, 2010 We are using audio during this session, so please dial in to our conference line… Phone number:
Slide 1 FastFacts Feature Presentation October 15, 2013 To dial in, use this phone number and participant code… Phone number: Participant.
Wikispaces 101 Training Standards & Interoperability (S&I) Framework May 30, :00 - 5:00pm EDT 1.
The Reinberger Childrens Library Center Step-by-step instructions for capturing a MARC record and adding a 658 Tag to a record.
Pennsylvania Banner Users Group 2008 Fall Conference
17 Copyright © 2005, Oracle. All rights reserved. Deploying Applications by Using Java Web Start.
Introduction to Metview
Tutorial 9 – Creating On-Screen Forms Using Advanced Table Techniques
XP New Perspectives on Microsoft Office Word 2003 Tutorial 6 1 Microsoft Office Word 2003 Tutorial 6 – Creating Form Letters and Mailing Labels.
Microsoft Access 2007 Advanced Level. © Cheltenham Courseware Pty. Ltd. Slide No 2 Forms Customisation.
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Child Health Reporting System (CHRS) How to Submit VHSS Data
Mike Scott University of Texas at Austin
1 Communication Methods Audio, video and chat. 2 Objectives Identify different methods of communication – non- verbal, audio, video, and chat Identify.
How To Use Google Forms to Create A Test Quick Easy Self-Graded!! Instant Reports.
Campaign Overview Mailers Mailing Lists
South Dakota Library Network ALEPH v20 Tables © South Dakota Library Network, 2012 ©Ex Libris (USA), 2009 Modified for SDLN Version Last Update:
1 Web-Enabled Decision Support Systems Access Introduction: Touring Access Prof. Name Position (123) University Name.
© Paradigm Publishing, Inc Access 2010 Level 1 Unit 1Creating Tables and Queries Chapter 2Creating Relationships between Tables.
Microsoft Office Illustrated Fundamentals Unit K: Working with Data.
Microsoft Access.
State of Connecticut Core-CT Project Query 8 hrs Updated 6/06/2006.
Vanderbilt Business Objects Users Group 1 Reporting Techniques & Formatting Beginning & Advanced.
ECATS RCCA CAMP PROCESS ENHANCEMENTS
Microsoft Office Illustrated Fundamentals Unit C: Getting Started with Unit C: Getting Started with Microsoft Office 2010 Microsoft Office 2010.
Benchmark Series Microsoft Excel 2013 Level 2
1 Welcome to SAPS Webmail. 2 Things we will learn about: 1. Login to mail.
4 Oracle Data Integrator First Project – Simple Transformations: One source, one target 3-1.
Media-X eWalk Walkthrough Install Training- Part Two Topic: Uploading Completed Walkthroughs Office of Institutional Education Programs 1.
1 POWERPOINT May 2004 To move the text box - move the mouse over the border of the text box, and once the 4-way arrow appear – click and drag the box.
1 BRState Software Demonstration. 2 After you click on the LDEQ link to download the BRState Software you will get this message.
Pasewark & Pasewark Microsoft Office XP: Introductory Course 1 INTRODUCTORY MICROSOFT WORD Lesson 8 – Increasing Efficiency Using Word.
25 seconds left…...
1 Wiki Tutorial. 2 Outline of Wiki Tutorial 1) Welcome and Introductions 2) What is a wiki, and why is it useful for our work in moving forward the program.
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.
Computer Concepts BASICS 4th Edition
Created Revised Office of Information, Technology and Accountability 1 Microsoft Access Combos & Command Boxes.
Benchmark Series Microsoft Excel 2013 Level 2
Use the buttons on the top to navigate through the presentation 1 PrevNext Menu.
Web Time Entry Hours Entry in ESS 04/26/12 1 Banner.
Session Title Presented by: Presenter name(s), Institution(s)/Company(s) September xx, 2014.
Profile. 1.Open an Internet web browser and type into the web browser address bar. 2.You will see a web page similar to the one on.
Windfall Web Throughout this slide show there will be hyperlinks (highlighted in blue). Follow the hyperlinks to navigate to the specified Topic or Figure.
Database Updates Made Easy In WebFocus Using SQL And HTML Painter Sept 2011 Lender Processing Services 1.
Introduction to MS ® Access for SCT Banner ® Users Evaluation Code 607 Sarah Lawrence and Malinda Richbourg University of North Carolina at Greensboro.
RECRUITER CAMPAIGNS 101 HOW TO SET UP CAMPAIGNS FOR BEGINNERS Angela Skjeie Pacific University Oregon July 30, 2015 Enrollment & Student Services Track.
1 Working with MS SQL Server Textbook Chapter 14.
Session Title Presented by: Presenter name(s), Institution(s)/Company(s) October xx, 2013.
Presenter Name Presenter School. About this Template  This template is compatible with Microsoft ® PowerPoint ® 2007, PowerPoint ® 2010, PowerPoint ®
6 th Annual Focus Users’ Conference 6 th Annual Focus Users’ Conference Import Testing Data Presented by: Adrian Ruiz Presented by: Adrian Ruiz.
1 MIS309 Database Systems Introduction to Microsoft Access.
Presentation transcript:

More Pass-Through Queries! Evaluation Code 245 Dan DeBower Technical Consultant SCT Tuesday, March 26 th, :00am – 9:30am

2 Evaluation Code 245 Session Rules of Etiquette Please hold all questions until the session ends Please turn off your cell phone/beeper If you must leave the session early, please do so as discreetly as possible Please avoid side conversation during the session But if you have a burning on-topic question, ask! Thank you for your cooperation!

3 Evaluation Code 245 Introduction I presented MS Access Pass-Through Queries at Summit last year, in Toronto This presentation grew out of the feedback I received from that session I will not cover the setup of ODBC or other technical issues during this presentation. (Feel free to ask questions at the end, though!) Remember: Im assuming you know some SQL

4 Evaluation Code 245 Agenda Review Pass-Throughs Rename your fields The Make Table Query Delete and Append (an alternative to Make Table) The TimeStamp Easy access to Object:Access

5 Evaluation Code 245 Review Use the latest version of MS Access: if youre using Office2000, make sure youre on Service Pack Two (SP2) Create and Prepare your query Create a Pass-Through query Prepare your connection Enter your SQL

6 Evaluation Code 245 Create a Pass-Through Query The NEW button, on the database Queries tab. Or from the menu: Insert - Query From the wizard, select Design View And Close the show table window And Query - SQL Specific - Pass-Through

7 Evaluation Code 245 Prepare Your Connection Create an ODBC Connection String In the Properties window enter a connection string: ODBC;DSN=???;DBQ=???;UID=???;PWD=???; DSN- your ODBC Data Source Name DBQ- your Oracle database instance UID- your Oracle UserID PWD- your Oracle Password

8 Evaluation Code 245 Prepare Your Connection Create an ODBC Connection String If you leave out the Username and Password, Access will display a connection window ODBC;DSN=Banner;DBQ=PROD;

9 Evaluation Code 245 Enter Your SQL Remember - you can write and test your SQL queries in SQLPlus and then Copy-Paste from the SQL editor to the Pass-Through window! [And SQLPlus gives better error messages!]

10 Evaluation Code 245 The Make Table Query Make Table Queries allow you to save the output of your Pass-Throughs Without a Make Table, your Pass-Through will run every time you update your reports or queries that are based upon your Pass-Through With a Make Table, your saved data doesnt change unless you want it to. No more mismatched reports because someone updated Banner

11 Evaluation Code 245 Create a Make Table Query Create a query in Design View Add your Pass-Through with the Show Table window and close Show Table Select Query – Make-Table Query Enter a Table Name Double click * in your Pass-Through to select all the fields And Save your Query with a unique name

12 Evaluation Code 245 Rename Your Fields Seeing Banner field names in your Access tables can be hard to read and confusing When you enter a field name in your Pass- Through select statement, add a space, and then a unique (short) name From select spriden_last_name, To select spriden_last_name LNAME,

13 Evaluation Code 245 Hint If you receive an error that your query was Cancelled by the user, your ODBC connection probably Timed Out. In other words, its just taking too long In the Query Properties window, set the ODBC Timeout property to 0 Make sure your Pass-Through and Make Table queries both get changed

14 Evaluation Code 245 Delete and Append A Make Table Query completely deletes and re- creates your table every time you run it But what if you dont want to destroy the table youve made? Have you formatted the Datasheet view or added an index? Delete and Append allows you to keep your existing table, remove all the records, and repopulate with an Append Query

15 Evaluation Code 245 Delete and Append Delete Select the Macro tab Select New, creating a new Macro Select the action RunSQL At the bottom of the Macro page on the SQL Statement line, enter delete * from [tablename] And save your Macro with a unique name

16 Evaluation Code 245 Delete and Append Append Open your Make-Table Query Select Query – Append Query Append Querys add records to an existing table Remember -- If you change your Pass-Through, you must re- Make your table. Append doesnt work if the Query doesnt match the Table

17 Evaluation Code 245 Delete and Append By adding a second command to your Macro, you can perform your Delete and Append in one step Open your Delete Macro Add the Action OpenQuery after RunSQL Choose your Append Query for Query Name And set Data Mode to Read Only (faster) Save your Macro Insert a SetWarnings to No Action at the top

18 Evaluation Code 245 Delete and Append Now youve got a single Macro that 1.Doesnt destroy any changes youve made to your Table design 2.Automatically updates your table without asking any questions 3.Can be added to a Button on a Form or as an Event on a report (or even called from another Macro)

19 Evaluation Code 245 The TimeStamp Always add a field to the end of the select statement in your Pass-Through Sysdate TimeStamp This TimeStamp field will record the date and time that your Pass-Through was last run Every record in your Table will have the same TimeStamp (even if it takes a while to run) Use an Append Query, and keep a history Valuable for statistical analysis!

20 Evaluation Code 245 Easy Access to Object:Access Problem: Oracle SQLNet (or Net8) isnt set up on every workstation because we use web-enabled Banner Problem: I like Object:Access, but its just too slow Problem: The Banner and Network administrators dont like me running reports during the day…

21 Evaluation Code 245 Easy Access to Object:Access Solution: Create a simple Data Warehouse! Create a Pass-Through Make Table that creates an unrestricted copy of Object:Access output Select * from as_student_data Where term_code_key = And dont forget the Manditory Conditions, like Term Code Key…

22 Evaluation Code 245 Easy Access to Object:Access Create a Macro to Delete and Append Put this new database in a shared directory on a Windows server (that has ODBC set up) Use the windows Task Scheduler to start this process daily (after hours) with the command line qualifier /x MacroName Use a LINK to this database from your workstation, and you have a simple warehouse!

23 Evaluation Code 245 Final Comments Use Macros! You can write entire applications without programming a single line of Visual Basic Learn more SQL! An understanding of SQL gives you an understanding of the inner workings of Oracle and Banner And youll write better reports!

24 Evaluation Code 245 Final Comments MS Access is a very broad, powerful application But its quirky… If a technique doesnt work, try something similar Maybe youre running into a quirk… And PLAY with Access! Mess around! Try new things! Use techniques you havent used before! Get an Access book!

25 Evaluation Code 245 Questions? Questions and (hopefully!) Answers… Would you like to see something demonstrated? Any Tips or Tricks you'd like to share? Suggesting a topic for next year?

26 Evaluation Code 245 Thank You! Dan DeBower Please fill out the Evaluation Form Evaluation Code 245 Check out the MS Access Reporting (BOF) session Wed, 10:00am – 11:30am in Marquis NW (M)