Some Introductory Programming 1. Structured Query Language (SQL) - used for queries. - a standard database product. 2. Visual Basic for Applications -

Slides:



Advertisements
Similar presentations
INTRODUCTORY MICROSOFT ACCESS Lesson 1 – Access Basics
Advertisements

Query Methods (SQL). What is SQL A programming language for databases. SQL (structured Query Language) It allows you add, edit, delete and run queries.
Pasewark & Pasewark Microsoft Office XP: Introductory Course 1 INTRODUCTORY MICROSOFT ACCESS Lesson 4 – Finding and Ordering Data.
Microsoft Office 2010 Access Chapter 1 Creating and Using a Database.
Mark Dixon Page 1 04 – Database Design: Forms. Mark Dixon Page 2 Session Aims & Objectives Aims –To allow easier data entry using forms Objectives, by.
Microsoft Office 2007 Access Chapter 2 Querying a Database.
Automating Tasks With Macros
Querying a Database Using the Select Query Window
4 Copyright © 2004, Oracle. All rights reserved. Creating a Basic Form Module.
Office 2003 Introductory Concepts and Techniques M i c r o s o f t Access Project 1 Creating and Using a Database.
Introduction To Form Builder
Calculated Fields 1. Calculated fields in queries. 2. Calculated fields on forms. Why? – Because it’s unnecessary to hold all data in the base tables,
Some Introductory Programming 1. Structured Query Language - used for queries. - a standard database product. 2. Visual Basic for Applications - use of.
Figure 1. Hit analysis in 2002 of database-driven web applications Hits by Category in 2002 N = 73,873 Results Reporting 27% GME 26% Research 20% Bed Availability.
Database Updates Made Easy In WebFocus Using SQL And HTML Painter Sept 2011 Lender Processing Services 1.
Create Forms Lesson 5. Software Orientation Creating Forms A form is a database object –enter, edit, or display data from a table or query Providing.
Chapter 2 Querying a Database
Pasewark & Pasewark Microsoft Office 2003: Introductory 1 INTRODUCTORY MICROSOFT ACCESS Lesson 1 – Access Basics.
Programming with Microsoft Visual Basic 2012 Chapter 13: Working with Access Databases and LINQ.
Chapter 2 Querying a Database MICROSOFT ACCESS 2010.
Advanced Report and Form Techniques – Project 7. 2 Project 7 Overview This project shows how to create queries for reports, add command buttons to forms,
INSERT BOOK COVER 1Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Office Access 2010 by Robert Grauer, Keith.
11 Chapter 10 Customizing a Database with Macros and Visual Basic for Applications Exploring Microsoft Office Access 2007.
Using Visual Basic for Applications (VBA) – Project 8.
Database Queries. Queries Queries are questions used to retrieve information from a database. Contain criteria to specify the records and fields to be.
Copyright © 2008 Pearson Prentice Hall. All rights reserved. 11 Committed to Shaping the Next Generation of IT Experts. Chapter 10 Customizing a Database.
Microsoft Office 2007 Access Chapter 2 Querying a Database.
MS-ACCESS BY SANGEETHA PARTHASARATHY Topics to be covered §Comparing Values in Selection Criteria §Calculating Values in a Query §Changing the appearance.
Key Applications Module Lesson 21 — Access Essentials
You can use Access forms to create an interface to your reports and queries. You can add: Buttons to initiate reports and queries Combo Boxes, List.
Chapter 11 - (Databases) – Queries and Reports This is a typical exam question. You will be asked to create a Report. However before you make the report.
Database Systems Microsoft Access Practical #3 Queries Nos 215.
4 Copyright © 2004, Oracle. All rights reserved. Creating a Basic Form Module.
This is the first screen you will encounter. Select Blank Database.
XP Chapter 4 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Collecting Data for Well-Designed Forms Chapter 4 “Making.
Unit 5, Lesson 1 Working with Databases. Objectives Identify the parts of the Access screen. Identify the parts of the Access screen. Understand the purpose.
1 Database Systems Introduction to Microsoft Access Part 2.
Office 2003 Introductory Concepts and Techniques M i c r o s o f t Access Project 1 Creating and Using a Database.
1 MIS309 Database Systems Introduction to Microsoft Access.
Microsoft Access Lesson 2 Lexington Technology Center February 13, 2003 Bob Herring On the Web at
Graphical User Interface You will be used to using programs that have a graphical user interface (GUI). So far you have been writing programs that have.
Introduction to a Database Defining a database Database window in Access The six items in window: Tables, Queries Forms, Reports, Macros, Modules.
SQL introduction. SWC Getting data out of databases Databases are ”just” containers of data We could – in principle – just put data in a text.
Chapter Fourteen Access Databases and SQL Programming with Microsoft Visual Basic th Edition.
Visual Basic for Application - Microsoft Access 2003 Programming applications using Objects.
CS 281 – Fall 2015 Lab 4 Parametric Query and Forms in MS Access.
Chapter 5 Introduction To Form Builder. Lesson A Objectives  Display Forms Builder forms in a Web browser  Use a data block form to view, insert, update,
Task #1 Create a relational database on computers in computer classroom 308, using MySQL server and any client. Create the same database, using MS Access.
MSOffice Access Microsoft® Office 2010: Illustrated Introductory 1 Part 2 ® Building Queries.
Visual Basic A Quick Tutorial VB Review for ACS 367.
Chapter 5 Introduction To Form Builder. Lesson C Objectives  Use sequences to automatically generate primary key values in a form  Create lists of values.
Chapter Fourteen Access Databases and SQL Programming with Microsoft Visual Basic th Edition.
Creating a database - I clicked on blank database and am saving it as books10.mdb. For more information see the practice example under week #1. I am going.
CS 281 – Fall 2010 Lab 4 Parametric Query and Forms in MS Access.
Programming with Microsoft Visual Basic 2012 Chapter 14: Access Databases and SQL.
DAY 20: ACCESS CHAPTERS 5, 6, 7 Larry Reaves October 28,
1 Database Systems Introduction to Microsoft Access Part 1.
Access Chapter 2 Querying a Database.
DATABASE CONCEPTS A database is a collection of logically related data designed to meet the information needs of one or more users Data bases are store-houses.
Access Project 8 Using Visual Basic for Applications (VBA) and Creating Multi-Page Forms.
Microsoft Access 2003 Illustrated Complete
Chapter 7 Advanced Form Techniques
Exploring Microsoft Office Access 2007
DB Implementation: MS Access Macros
CIS16 Application Programming with Visual Basic
Exploring Microsoft® Access® 2016 Series Editor Mary Anne Poatsy
Access: Queries IV Participation Project
Query-by-Example Transparencies
Unit – V Data Controls.
Presentation transcript:

Some Introductory Programming 1. Structured Query Language (SQL) - used for queries. - a standard database product. 2. Visual Basic for Applications - use of Visual Basic to develop an Access application.

The Access Design Screen version of a Query Show all students with an overall mark less than 40%

The Access SQL version of the query

Run the Query

Example of Visual Basic programming. Calculate outcome, put in field on record. A table contains student number, name, coursework mark, exam mark and an empty field for the result (pass or referred). Module Total = 75% coursework + 25% exam which is shown in a calculated field on the form. Result : 40% or over = Pass, otherwise Referred.

Exam Mark – Properties OnExit – Code Builder

Enter code as below. Note “Text 10” = module total as calculated on form.

Text 10 Properties. Enabled = No (To disallow entry – module total is always calculated by computer).

Run the Form (Enter data)

Let’s add an Exit button

Add a Command Button, call it Exit Use Wizard to specify Close Form action.

The Wizard will insert the following code as an OnClick event procedure:

Add three extra lines to give the following: New lines

Access now asks for confirmation before closing the form.