INFO/CSE 100, Spring 2005 Fluency in Information Technology

Slides:



Advertisements
Similar presentations
JQuery MessageBoard. Lets use jQuery and AJAX in combination with a database to update and retrieve information without refreshing the page. Here we will.
Advertisements

1 A Balanced Introduction to Computer Science, 2/E David Reed, Creighton University ©2008 Pearson Prentice Hall ISBN Chapter 7 Event-Driven.
1 The Information School of the University of Washington Nov 29fit forms © 2006 University of Washington More Forms INFO/CSE 100, Fall 2006 Fluency.
1 Events Lect 8. 2 Event-driven Pages one popular feature of the Web is its interactive nature e.g., you click on buttons to make windows appear e.g.,
Chapter 10 Fireworks: Part II The Web Warrior Guide to Web Design Technologies.
Management Information Systems MS Access MS Access is an application software that facilitates us to create Database Management Systems (DBMS)
With Microsoft Office 2007 Introductory© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Office 2007 Introductory.
USING XML AS A DATA SOURCE. Data binding is a process by which information in a data source is stored as an object in computer memory. In this presentation,
1 The Information School of the University of Washington Dec 1fit advdatabases © 2006 University of Washington Advanced Database Concepts INFO/CSE.
Databases 101 © Dolinski What you will learn How relational databases work What are the components that make up a database How to create each component.
INTRODUCTION TO ACCESS. OBJECTIVES  Define the terms field, record, table, relational database, primary key, and foreign key  Create a blank database.
Microsoft Office 2013 Try It! Chapter 4 Storing Data in Access.
LESSON : EVENTS AND FORM VALIDATION -JAVASCRIPT. EVENTS CLICK.
CSC 121 Computers and Scientific Thinking Fall Event-Driven Programming.
The Web Wizard’s Guide To JavaScript Chapter 4 Image Swapping.
Access Queries and Forms. Access Queries Simple Queries  To create an Access query, don’t use the query wizard. Instead, create query in Design view.
To play, start slide show and click on circle Access 1 Access 2 Access 3 Access 4 Access Access
Forms. Forms provide a more convenient user interface for such things as adding new records or editing or deleting existing records in a table. They can.
Core LIMS Training: Entering Experimental Data – Simple Data Entry.
1 Database Systems Introduction to Microsoft Access Part 1.
Tutorial 1 Creating a Database
How do Web Applications Work?
Event-Driven Programming
Visual Basic 2010 How to Program
IST 220 – Intro to Databases
Creating Custom Reports, Macros, and Switchboards
Microsoft Access 2016 Simplify Data Entry with Forms
Access Reports.
GO! with Microsoft Office 2016
Microsoft Access 2007 – Level 2
Access Tutorial 1 Creating a Database
Forms and Reports 09.
Developing Forms and Subforms.
Introduction to Microsoft Access
Multiple Classes and Inheritance
Microsoft Access 2016 Create Professional Quality Output with Reports
TU170 Learning online and computing with confidence
Forms.
GO! with Microsoft Access 2016
Access Creating a Database
Visual programming Chapter 1: Introduction
Access Creating a Database
Access Maintaining and Querying a Database
Simplify Data Entry with Forms Chapter 3
Introduction to Ms-Access Submitted By- Navjot Kaur Mahi
test slide
Chapter 7 Advanced Form Techniques
INFO/CSE 100, Spring 2005 Fluency in Information Technology
Access Tutorial 1 Creating a Database
MODULE 7 Microsoft Access 2010
Create Professional Quality Output with Reports Chapter 5
Exploring Microsoft® Access® 2016 Series Editor Mary Anne Poatsy
Access Lesson 2 Creating a Database
Chapter 6 Event-Driven Pages
Functions, Regular expressions and Events
Access Tutorial 1 Creating a Database
INFO/CSE 100, Spring 2006 Fluency in Information Technology
Chapter 1 Databases and Database Objects: An Introduction
Advanced Database Concepts: Reports & Views
Exploring Microsoft Office Access 2010
Working With Databases
INFO/CSE 100, Spring 2006 Fluency in Information Technology
Access Tutorial 1 Creating a Database
Chapter 7 Event-Driven Pages
Guidelines for Microsoft® Office 2013
Access Tutorial 1 Creating a Database
Grauer and Barber Series Microsoft Access Chapter Two
Unit J: Creating a Database
Unit – V Data Controls.
Exploring Microsoft Access 2003
Presentation transcript:

INFO/CSE 100, Spring 2005 Fluency in Information Technology More Reports INFO/CSE 100, Spring 2005 Fluency in Information Technology http://www.cs.washington.edu/100 11/21/2018 fit100-24-reports © 2005 University of Washington

Readings and References Fluency with Information Technology Chapter 15, Case Study in Database Design References MS Access Help files keyword “form” Section “Reports and Report Snapshots” 11/21/2018 fit100-24-reports © 2005 University of Washington

Explore the Design capabilities Properties of the various controls can be set Controls and labels can be moved around Images and patterns can be applied Event handlers can be written just like on HTML pages with onClick, etc these are written in Basic, not JavaScript 11/21/2018 fit100-24-reports © 2005 University of Washington

fit100-24-reports © 2005 University of Washington Displaying an image In general, images are not stored directly in the database This would mean copying the image and storing it as part of the database file The resulting database is very big The image files are not available outside of the database program But we can easily store a link to the image file a text field containing the path to the image file use the path to find, load, and display the image 11/21/2018 fit100-24-reports © 2005 University of Washington

fit100-24-reports © 2005 University of Washington Simple Display Form ImagePaths table 11/21/2018 fit100-24-reports © 2005 University of Washington

To display a linked image Create a form based on a table or query that includes the path attribute include a text field on the form to hold the path Create an image control on the form this is where the image is actually displayed Create event handlers to load the image when something changes associated with the form event OnCurrent associated with the text field event AfterUpdate 11/21/2018 fit100-24-reports © 2005 University of Washington

text field that holds the value of the primary key for the ImagePaths table, the ID attribute text field that holds the value of the attribute ImagePath image field that displays the image pointed to by ImagePath

Event Handlers then click here double click here to get this How do we change the image? 11/21/2018 fit100-24-reports © 2005 University of Washington

OnCurrent event handler for the form ImagePath is the name of the text field that holds the path to the image on your form. ImageFrame is the name of the Image control that displays the image on your form.

2.click the properties button 1. select the text field that holds the path 3.click the code generator button

AfterUpdate event handler for the field ImagePath is the name of the text field that holds the path to the image on your form. ImageFrame is the name of the Image control that displays the image on your form.

fit100-24-reports © 2005 University of Washington Views as Tables Recall that the result of a query is a table We have been presenting the table to the user in simple tabular form 11/21/2018 fit100-24-reports © 2005 University of Washington

But tables are not pretty … Users need help understanding what they are looking at and what they can do with it … … so we developed Forms for controlling the display of data for the user who is reviewing or updating specific records. 11/21/2018 fit100-24-reports © 2005 University of Washington

Views as Forms A form is primarily used to enter or display data in a database Last lecture we developed Forms for better display to the user while updating the table. 11/21/2018 fit100-24-reports © 2005 University of Washington

But forms are not very compact … Users like to have reports densely packed with information and logically arranged … So this lecture we will develop Reports for compact display of multiple records. 11/21/2018 fit100-24-reports © 2005 University of Washington

A Report is another face for a table (or query) The report lets the designer arrange the data, label it, provide some control over events, etc the presentation multiple presentations are possible depending on the specific needs of each user Underlying data comes from a table or a query the content single source of data ensures consistency 11/21/2018 fit100-24-reports © 2005 University of Washington

How does a report get built? The New Report wizard can build a complete report for you. 11/21/2018 fit100-24-reports © 2005 University of Washington

But this wizard is kind of naïve … 11/21/2018 fit100-24-reports © 2005 University of Washington

You might want to use the Report Wizard instead since it gives you more control.

Better looking report, but you still probably want to tweak it …

But you probably want to tweak it …

Explore the Design capabilities Properties of the various controls can be set Controls and labels can be moved around Images and patterns can be applied Totals, averages, subtotals etc can be calculated Information can be grouped by selected fields Etc, etc – there is a lot of flexibility in how these reports get generated 11/21/2018 fit100-24-reports © 2005 University of Washington