1 Copyright © 2010 Jerry Post with additions by M. E. Kabay. All rights reserved. Forms & Reports Part 2 of 2 IS240 – DBMS Lecture #10 – 2010-03-29 M.

Slides:



Advertisements
Similar presentations
1 All Powder Board and Ski Microsoft Access Workbook Chapter 8: Applications Jerry Post Copyright © 2007.
Advertisements

WEB DESIGN TABLES, PAGE LAYOUT AND FORMS. Page Layout Page Layout is an important part of web design Why do you think your page layout is important?
Jeopardy Objects Navigation Buttons True/False Parts of a Report Vocabulary Q $100 Q $200 Q $300 Q $400 Q $500 Q $100 Q $200 Q $300 Q $400 Q $500 Final.
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. Extended Learning Module J (Office 2010 Version) Implementing.
DBSYSTEMS 1 of 23 Chapter 6 DB System Development: Forms and Reports 1 Based on G. Post, DBMS: Designing & Building Business Applications University of.
Chapter 6, part 2 Database System Development (cont.) Based on G. Post, DBMS: Designing & Building Business Applications University of Manitoba Asper School.
Pasewark & Pasewark 1 Word Lesson 7 Working with Documents Microsoft Office 2007: Introductory.
Word Lesson 7 Working with Documents
INSERT BOOK COVER 1Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Access 2010 by Robert Grauer, Keith Mast,
Miscellaneous Windows 2000 Desktop Features Windows 2000 Intermediate.
Microsoft Office 2010 Access Chapter 1 Creating and Using a Database.
Developing Effective Reports
Office 2003 Introductory Concepts and Techniques M i c r o s o f t Access Project 3 Maintaining a Database Using the Design and Update Features of Access.
Management Information Systems MS Access 2003 By: Mr. Imdadullah Lecturer, Department of M.I.S. College of Business Administration, KSU.
Office 2003 Advanced Concepts and Techniques M i c r o s o f t Access Project 4 Reports, Forms, and Combo Boxes.
Developing Effective Reports
SYSTEMSDESIGNANALYSIS 1 Chapter 15 Designing Output Jerry Post Copyright © 1997.
Microsoft Access Intro Class 1 Database Concepts.
XP Chapter 5 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Developing Effective Reports Chapter 5 “Nothing succeeds.
DAY 15: ACCESS CHAPTER 2 Larry Reaves October 7,
10-1 aslkjdhfalskhjfgalsdkfhalskdhjfglaskdhjflaskdhjfglaksjdhflakshflaksdhjfglaksjhflaksjhf.
| | Tel: | | Computer Training & Personal Development Outlook Express Complete.
Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin TECHNOLOGY PLUG-IN T8 DECISION MAKING USING ACCESS.
Automating Database Processing Chapter 6. Chapter Introduction Design and implement user-friendly menu – Called navigation form Macros – Automate repetitive.
McGraw-Hill Technology Education © 2004 by the McGraw-Hill Companies, Inc. All rights reserved. Office Access 2003 Lab 3 Analyzing Data and Creating Reports.
Management Information Systems MS Access MS Access is an application software that facilitates us to create Database Management Systems (DBMS)
XP New Perspectives on Microsoft Word 2002 Tutorial 31 Microsoft Word 2002 Tutorial 3 – Creating a Multiple-Page Report.
S511 Session 7, IU-SLIS 1 DB Implementation: MS Access Forms.
McGraw-Hill/Irwin The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Access 2002 Lab 5 Creating Custom Forms.
Chapter 4: Create, Edit, and Perform Calculations in Reports Exploring Microsoft Office Access 2007.
1.NET Web Forms Business Forms © 2002 by Jerry Post.
Key Applications Module Lesson 21 — Access Essentials
MS Access 2007 Management Information Systems 1. Overview 2  What is MS Access?  Access Terminology  Access Window  Database Window  Create New Database.
Computer Literacy BASICS: A Comprehensive Guide to IC 3, 5 th Edition Lesson 19 Organizing and Enhancing Worksheets 1 Morrison / Wells / Ruffolo.
Introduction to Enterprise Guide Jennifer Schmidt Rhonda Ellis Cassandra Hall.
1/62 Introduction to and Using MS Access Database Management and Analysis Yunho Song.
Key Applications Module Lesson 17 — Organizing Worksheets Computer Literacy BASICS.
Microsoft Access 2000 Presentation 3 Creating Databases Part II (Creating Forms)
1 Lesson 13 Organizing and Enhancing Worksheets Computer Literacy BASICS: A Comprehensive Guide to IC 3, 3 rd Edition Morrison / Wells.
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Excel 2002 Working with Data Lists.
Gold – Crystal Reports Introductory Course Cortex User Group Meeting New Orleans – 2011.
McGraw-Hill/Irwin © The McGraw-Hill Companies, All Rights Reserved TECHNOLOGY PLUG-IN T8 Decision Making Using Access.
Copyright 2007, Paradigm Publishing Inc. ACCESS 2007 Chapter 6 BACKNEXTEND 6-1 LINKS TO OBJECTIVES Using the Report Button Using the Report Button Print.
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. Extended Learning Module J (Office 2007 Version) Implementing.
Microsoft Office 2013 Try It! Chapter 4 Storing Data in Access.
Pasewark & Pasewark 1 Word Lesson 7 Working with Documents Microsoft Office 2007: Introductory.
1. Using word you can create the document and edit them later, as and when required,by adding more text, modifying the existing text, deleting/moving.
1 Word Processing Intermediate Using Microsoft Office 2000.
© 2004 The McGraw-Hill Companies, Inc. All rights reserved. The Advantage Series Microsoft Office Word 2003 CHAPTER 4 Printing and Web Publishing.
Microsoft Office Access 2010 Lab 1
Creating Custom Reports, Macros, and Switchboards
GO! with Microsoft Office 2016
Key Applications Module Lesson 17 — Organizing Worksheets
Building a User Interface with Forms
GO! with Microsoft Access 2016
Agenda: 10/05/2011 and 10/10/2011 Review Access tables, queries, and forms. Review sample forms. Define 5-8 guidelines each about effective form and report.
DB Implementation: MS Access Forms
Database Applications – Microsoft Access
Word Lesson 7 Working with Documents
Tutorial 3 – Creating a Multiple-Page Report
DB Implementation: MS Access Forms
Introduction to Database Programs
Introduction to Database Programs
Computer Basics Applications.
Exploring Microsoft® Office 2016 Series Editor Mary Anne Poatsy
Presentation transcript:

1 Copyright © 2010 Jerry Post with additions by M. E. Kabay. All rights reserved. Forms & Reports Part 2 of 2 IS240 – DBMS Lecture #10 – M. E. Kabay, PhD, CISSP-ISSMP Assoc. Prof. Information Assurance School of Business & Management, Norwich University V:

2 Copyright © 2010 Jerry Post with additions by M. E. Kabay. All rights reserved. Topics  Report Design  Terminology  Types  Layout  Computations  Wizard  Applications  Design  Organization  Structure  Custom Menus  Help In the words of the Hitchhiker’s Guide to the Galaxy, DON’T PANIC. Although there are 51 slides, many of them are simply illustrations.

3 Copyright © 2010 Jerry Post with additions by M. E. Kabay. All rights reserved. Report Design  Report usage/user needs.  Report layout choices.  Tabular  Columns/Subgroups  Charts/graphs  Paper sizes.  Printer constraints.  How often is it generated?  Events that trigger report?  How large is the report?  Number of copies?  Colors?  Security controls  Distribution list  Unique numbering  Concealed/non- printed data  Secured printers  Transmission limits  Print queue controls  Output concerns  Typefaces Readability Size User disabilities  OCR needs

4 Copyright © 2010 Jerry Post with additions by M. E. Kabay. All rights reserved. Terminology  Page Layout  Landscape v. portrait  Margins  Gutter (binding space)  Typefaces  Serif (Times New Roman)  Sans-serif (Arial)  Ornamental  Fixed width  Font size  common: point  72 points approx. 1 inch  pica (1/6 inch) (12 points) Facing pages (portrait) gutter margins Landscape Alignment marks for color separations.

5 Copyright © 2010 Jerry Post with additions by M. E. Kabay. All rights reserved. Report Types: Tabular

6 Copyright © 2010 Jerry Post with additions by M. E. Kabay. All rights reserved. Report Types: Labels

7 Copyright © 2010 Jerry Post with additions by M. E. Kabay. All rights reserved. Report Types  Column.  Column with groups.

8 Copyright © 2010 Jerry Post with additions by M. E. Kabay. All rights reserved. Report Layout  Report Header  Page Header  Group Header1  Group Header2 ...  Detail ...  Group Footer2  Group Footer1  Page Footer  Report Footer

9 Copyright © 2010 Jerry Post with additions by M. E. Kabay. All rights reserved. Report Layout/Common Use  Group Footer  Subtotals for the group.  Page Footer  Printed at the bottom of every page--page totals or page numbers and notes.  Report Footer  Printed one time at the end of the report. Summary notes, overall totals and graphs for entire data set.  Report Header  Title pages that are printed one time for entire report.  Page Header  Title lines or page notes that are printed at the top of every page.  Group Header  Data for a group (e.g., Order) and headings for the detail section.  Detail  Innermost data.

10 Copyright © 2010 Jerry Post with additions by M. E. Kabay. All rights reserved. Report of Orders Rpt footer: graph orders by customer Group1: Customer H1: Customer name, address, … F1: Customer total orders: Group2: Order H2: Order#, Odate, Salesperson. F2: Order total: Sum(Extended) Detail: Item#, Qty, Extended Report Layout/Groups  Often use groups/breaks for one- to-many relationships.  Use a query to join all necessary tables.  Can include all columns.  Use query to create computed columns (e.g., Extended:Price*Quantity).  Avoid creating aggregates or subtotals in the query.  Each one-to-many relationship becomes a new subgroup.  Customer(C#, Name, …)  Order(O#, C#, Odate, …)  OrderItem(O#, Item#, Qty, …)

11 Copyright © 2010 Jerry Post with additions by M. E. Kabay. All rights reserved. Report Computations  Query  Same row computations.  Extended=Price*Quantity  Report  Group subtotals.  Page and report totals.  Mixed, e.g., commission = rate * total  Scope depends on location  Group footer: subtotal  Page footer: page total  Report footer: report total

12 Copyright © 2010 Jerry Post with additions by M. E. Kabay. All rights reserved. Report Graphs  Separate query.  Detail  Locate in detail or group footer section.  Avoid aggregation and groups in query.  Include column that links to detail query in report.  Subtotals and totals  Typically located in report footer or header.  Compare group totals  Relies on Group By and aggregation.  Be sure query groups match report groups.

13 Copyright © 2010 Jerry Post with additions by M. E. Kabay. All rights reserved. Report Graph for Group

14 Copyright © 2010 Jerry Post with additions by M. E. Kabay. All rights reserved. Using the Access Report Wizard  Starting the Wizard  Choosing Fields  Choosing a Basic Format  Defining Groups  Sorting  Group Statistics  Choosing a Print Layout  Embellishing the Appearance  Adding a Report Title  Default Report Layout  Previewing the Print Job

15 Copyright © 2010 Jerry Post with additions by M. E. Kabay. All rights reserved. Starting the Wizard

16 Copyright © 2010 Jerry Post with additions by M. E. Kabay. All rights reserved. Choosing Fields

17 Copyright © 2010 Jerry Post with additions by M. E. Kabay. All rights reserved. Choosing a Basic Format

18 Copyright © 2010 Jerry Post with additions by M. E. Kabay. All rights reserved. Defining Groups

19 Copyright © 2010 Jerry Post with additions by M. E. Kabay. All rights reserved. Sorting

20 Copyright © 2010 Jerry Post with additions by M. E. Kabay. All rights reserved. Group Statistics

21 Copyright © 2010 Jerry Post with additions by M. E. Kabay. All rights reserved. Choosing a Print Layout

22 Copyright © 2010 Jerry Post with additions by M. E. Kabay. All rights reserved. Embellishing the Appearance

23 Copyright © 2010 Jerry Post with additions by M. E. Kabay. All rights reserved. Adding a Report Title

24 Copyright © 2010 Jerry Post with additions by M. E. Kabay. All rights reserved. Default Report Layout

25 Copyright © 2010 Jerry Post with additions by M. E. Kabay. All rights reserved. Previewing the Print Job

26 Copyright © 2010 Jerry Post with additions by M. E. Kabay. All rights reserved. Customer Report File Edit Help Application Features  Application organization  Menu  Toolbar  Help  Transactions  Improving forms  Customized reports  Distributing Applications Sales Report File Edit Help Switchboard

27 Copyright © 2010 Jerry Post with additions by M. E. Kabay. All rights reserved. Application Design  Customer Form  Order Form  Bad design:  Enter data twice.  Poor design:  Memorize data (ID) on one form to enter on second.  Better design:  Automatically transfer data across forms. Customer 1592 Jane Doe 333 Elm St. Order Customer: 1592 Jane Doe 333 Elm St.

28 Copyright © 2010 Jerry Post with additions by M. E. Kabay. All rights reserved. Application Importance (1)  User interface  Make users’ jobs easier.  Tie input forms and reports.  Automate basic tasks  Tie to external data collection devices.  Help system.  Ensure data integrity  Validate data.  Perform computations.  Verify totals.  Control user access.  Maintain related transactions.  Backup and recovery.

29 Copyright © 2010 Jerry Post with additions by M. E. Kabay. All rights reserved. Application Importance (2)  Decision Support  Monitoring of events.  Analysis, Graphs, Reports.  Statistical analysis and optimization.  Forecasts and simulation.  Linking to other software.  Expert Systems & Intelligence  Logic and forward chaining.  Analysis and decisions in code.  Databases of cases, situations and solutions.

30 Copyright © 2010 Jerry Post with additions by M. E. Kabay. All rights reserved. Application Organization (1)  Organized by user needs.  Identify user.  Outline tasks.  Organize forms and reports.  Direct users to tasks.  Potential drawbacks  Too many layers makes it difficult for users to find anything.  Poor organization confuses users and requires additional support and training.

31 Copyright © 2010 Jerry Post with additions by M. E. Kabay. All rights reserved. Application Organization (2)  Build forms and reports.  Start with a core concept.  Identify most important features. Get them correct.  Add features, forms and reports.  Issue application updates--number and date!  Use menu stubs for incomplete and future work.  Make them invisible to the user with the Visible property.  Be sure they are disabled.

32 Copyright © 2010 Jerry Post with additions by M. E. Kabay. All rights reserved. Application Structure Database Oracle SQL Server DB2 Access Forms and Reports Visual Basic Internet Oracle Forms Back end Front end If x > 10,000 Then Else End If Middle Tier (Optional) Business logic Rules

33 Copyright © 2010 Jerry Post with additions by M. E. Kabay. All rights reserved. User Orientation  Database application is a model of the organization.  Applications based on user jobs.  Flexibility and user control.  Application organization  User tasks.  User control over sequence.  Forms  Minimize user entry.  Anticipation.  Reports  Easy access from forms.  User selection of scope and conditions or filters.

34 Copyright © 2010 Jerry Post with additions by M. E. Kabay. All rights reserved. Initial Menu / Switchboard  Starting point for users.  Identify the user. From network if possible. Separate log in if needed.  Customized for users. Hide restricted options. Different forms as needed.  Avoid cluttered screens.  Use graphics and color to enhance the presentation.  Limit the number of options.

35 Copyright © 2010 Jerry Post with additions by M. E. Kabay. All rights reserved. Switchboard Uses  Acts as a directory for the application.  Identifies users.  Contains startup and shutdown code.  Can preload forms in background. Make them invisible. Speed up later usage.  Can initiate transaction and security logs.  Can establish network connections.  Contains copyright and usage notes.

36 Copyright © 2010 Jerry Post with additions by M. E. Kabay. All rights reserved. Sally’s Pet Store: Poor Organization  What is wrong?  Focus needs to be at higher level (Order, Receipt, Sale); not Item.A  You cannot go from Order to Receipt.  You cannot go from Receipt to Sale.  You need to get customer data before recording the sale. Order Merchandise Item Receive Merchandise Item Sell Merchandise Item Get Customer Data

37 Copyright © 2010 Jerry Post with additions by M. E. Kabay. All rights reserved. Sally’s Pet Store: Better Organization OrdersReceipt Sale Supplier Customer Inventory Items special orders More links--usually as buttons. Separate sales from orders, except for special orders.

38 Copyright © 2010 Jerry Post with additions by M. E. Kabay. All rights reserved. Sally’s Pet Store: Initial VTOC* Sales Animals Customers Suppliers Purchase Merchandise Sale Animal Sale Merchandise Customer Receipts Supplier Payments Animal Health Animal Genealogy Purchase Animals Accounting Marketing Employees Sales Report Cash Flow Accounts Payable Accounts Receivable Inventory *Volume Table of Contents

39 Copyright © 2010 Jerry Post with additions by M. E. Kabay. All rights reserved. Benefits of Custom Menus  Limit user actions.  Simplify user interface.  Add custom actions.  Menus can be activated by keystrokes.  Accessibility  Touch-typists and heads-down data entry.  Sometimes need different menus for each form. FileHelp Contents Search About Rolling Thunder FileHelpEdit Add Customer Delete CustomerCtrl+D Modify Customer Data

40 Copyright © 2010 Jerry Post with additions by M. E. Kabay. All rights reserved. Creating Menus  View | Toolbars | Customize  Drag and Drop  Multilevel menu. Sublevels/hierarchy. Each level is a separate menu with its own name.  Menu choices Each entry has a name. Access key: & (e.g., &File). Status Bar Text  Actions Submenu. Run any code.

41 Copyright © 2010 Jerry Post with additions by M. E. Kabay. All rights reserved. Toolbars  Why toolbars?  Single click for complex actions.  Commands available across the application / shortcuts.  Position and customization by user.  Toolbar components  Button Text Icon/graphic (bitmap)  Tool Tip  Status Bar description  Action Print ·Identify report ·Ask for single or multiple pages. ·Preview or print. Switchboard Weekly Sales Analysis Build graphs Print reports Export data to spreadsheet

42 Copyright © 2010 Jerry Post with additions by M. E. Kabay. All rights reserved. Menus and Toolbars

43 Copyright © 2010 Jerry Post with additions by M. E. Kabay. All rights reserved. Creating Toolbars  View | Toolbars | New  Customizing  Add new button. Select from DBMS list. Bring up query/form/report. Run code.  Change icon. Modify existing icon. Replace icon. Create your own icon and paste it on the button. Place text label on button.  Tool tips are vital.  Status bar for description.

44 Copyright © 2010 Jerry Post with additions by M. E. Kabay. All rights reserved. Icons  16 by 16 pixels  16 colors  Bright and shaded  Dither to mix colors  Outline in black

45 Copyright © 2010 Jerry Post with additions by M. E. Kabay. All rights reserved. Activating Toolbars and Menus  Install a menu  Form: Attach a bar using the form properties.  Code On Activate On Deactivate  Modify from code  Add or remove options  Enable/Disable (dim) With myBar.Controls.Add Type:=msoControlButton, Id:=3.Controls(1).Enabled = False.Controls.Add Type:=msoControlButton, Id:=3 End With myBar.Visible = True Set myBar = CommandBars(”Custom1") If user = ”Clerk" Then myBar.Visible = True Else CommandBars(”Database").Reset myBar.Enabled = False End If

46 Copyright © 2010 Jerry Post with additions by M. E. Kabay. All rights reserved. Help  On-line help replaces manuals  Context sensitive: Pressing F1 key provides information on topic with current focus  Hypertext links to related topics  Sequential topics Descriptions Examples  Definitions / Glossary  Contents / overview  Index / keywords  Full-text search Sally’s Pet Store--Contents Copyright Notice The Firm Introduction Processes Entering Data Sales Animal Health Breeds (and other terms)

47 Copyright © 2010 Jerry Post with additions by M. E. Kabay. All rights reserved. HTML Help  Microsoft HTML Help Workshop:  Can create each of the following  Help project files Use separate directory  HTML topic files Standard HTML with some additions for keywords  Topic Header and Text File  Graphics and multimedia Avoid monster sizes  Contents files Can auto-generate from heading tags (,, …)  Index files Use Help Workshop to set keywords within each topic

48 Copyright © 2010 Jerry Post with additions by M. E. Kabay. All rights reserved. HTML Help Workshop Online

49 Copyright © 2010 Jerry Post with additions by M. E. Kabay. All rights reserved. HTML Help Workshop

50 Copyright © 2010 Jerry Post with additions by M. E. Kabay. All rights reserved. HOMEWORK & QUIZ  Complete Lab Ch 6: All Powder Board and Ski Shop forms and reports  Keep your files for review  Continue working on your term project  Will be the basis of your lab evaluation  Friday 9 April 2010  Prepare for quiz we missed on 2 Apr 2010 due to Prof Kabay’s horrible wretched equivalent to the bubonic plague:  Will cover Advanced Queries (Lecture 8) Forms & Reports (1) (Lecture 9)

51 Copyright © 2010 Jerry Post with additions by M. E. Kabay. All rights reserved. DISCUSSION