Form and Graphical User Interfaces. Lesson plan More about queries More about entering data into a table Form.

Slides:



Advertisements
Similar presentations
1 After completing this lesson, you will be able to: Create a database. Create a table using the Table Wizard. Create and modify a table in Design view.
Advertisements

Computer Concepts BASICS 4th Edition
Pasewark & Pasewark Microsoft Office XP: Introductory Course 1 INTRODUCTORY MICROSOFT ACCESS Lesson 4 – Finding and Ordering Data.
Access Lesson 2 Creating a Database
Guide to Oracle10G1 Introduction To Forms Builder Chapter 5.
Maintenance Modifying the data –Add records –Delete records –Update records Modifying the design –Add fields into tables –Remove fields from a table –Change.
Access Quiz October 24, The database objects bar in Access contains icons for tables, queries, forms and reports 1.True 2.False.
This presentation contains the following: -the availability and need menu options -the add option Mark Smith.
Automating Tasks With Macros. 2 Design a switchboard and dialog box for a graphical user interface Database developers interact directly with Access.
Creating And Maintaining A Database. 2 Learn the guidelines for designing databases When designing a database, first try to think of all the fields of.
FIRST COURSE Access Tutorial 2 Building a Database and Defining Table Relationships.
Chapter Extension 6 Using Microsoft Access © 2008 Pearson Prentice Hall, Experiencing MIS, David Kroenke.
MIS2502: Data Analytics MySQL and SQL Workbench David Schuff
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.
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.
Access Tutorial 10 Automating Tasks with Macros
DAY 21: MICROSOFT ACCESS – CHAPTER 5 MICROSOFT ACCESS – CHAPTER 6 MICROSOFT ACCESS – CHAPTER 7 Akhila Kondai October 30, 2013.
From VS C# 2010 Programming, John Allwork 1 VS2010 C# Programming - DB intro 1 Topics – Database Relational - linked tables SQL ADO.NET objects Referencing.
ASP.NET Programming with C# and SQL Server First Edition
Chapter 15: Using LINQ to Access Data in C# Programs.
Constraints  Constraints are used to enforce rules at table level.  Constraints prevent the deletion of a table if there is dependencies.  The following.
Exploring Microsoft Access 97 Chapter 1 Introduction to Microsoft Access: What Is A Database? Office graphic copyright by Microsoft Corp.
© 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 9 – Building Links,
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 2 1 Microsoft Office Access 2003 Tutorial 2 – Creating And Maintaining A.
MS-ACCESS BY SANGEETHA PARTHASARATHY Topics to be covered §Comparing Values in Selection Criteria §Calculating Values in a Query §Changing the appearance.
Using sub query. Sub query A query inside another query.
Key Applications Module Lesson 21 — Access Essentials
CSC 240 (Blum)1 Forms and Importing Data in Access.
Microsoft Access Intro Class 6 Relationships.
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.
Course ILT Forms and queries Unit objectives Create forms by using AutoForm and the Form Wizard, and add or modify form headers and footers Open and enter.
Forms Using. 2  Plan a form  Create a form  Move and resize controls  Modify labels  Modify text boxes Objectives.
SQL Basic. What is SQL? SQL (pronounced "ess-que-el") stands for Structured Query Language. SQL is used to communicate with a database.
1 MIS309 Database Systems Introduction to Microsoft Access.
SQL Jan 20,2014. DBMS Stores data as records, tables etc. Accepts data and stores that data for later use Uses query languages for searching, sorting,
Microsoft Access 2002 Illustrated Complete Forms Using.
Access Lesson 2 Lesson Plans Michele Smith – North Buncombe High School, Weaverville, NC
Chapter Fourteen Access Databases and SQL Programming with Microsoft Visual Basic th Edition.
Planning & Creating a Database By Ms. Naira Microsoft Access.
Pasewark & Pasewark Microsoft Office 2003: Introductory 1 INTRODUCTORY MICROSOFT ACCESS Lesson 4 – Finding and Ordering Data.
Unbound Form Form not tied directly to any fields in the database Must use SQL to “bind” the fields 1.
Personal Oracle8i Create a new user Create a new table Enter data into a new table Export & import data Start and exit SQL Plus SQL Plus Syntax.
Understand Tables and How to Create Them Database Administration Fundamentals LESSON 2.2.
WEEK# 12 Haifa Abulaiha November 02,
Microsoft Access Prepared by the Academic Faculty Members of IT.
Database Applications – Microsoft Access Lesson 6B Advanced Features on Custom Forms 1.
Chapter Fourteen Access Databases and SQL Programming with Microsoft Visual Basic th Edition.
Form and Graphical User Interfaces. Lesson plan More about queries More about entering data into a table Form.
MICROSOFT ACCESS – CHAPTER 5 MICROSOFT ACCESS – CHAPTER 6 MICROSOFT ACCESS – CHAPTER 7 Sravanthi Lakkimsety Mar 14,2016.
MYSQL AND MYSQL WORKBENCH MIS2502 Data Analytics.
Programming with Microsoft Visual Basic 2012 Chapter 14: Access Databases and SQL.
Copyright © 2014 Pearson Canada Inc. Ext. 5b-1 Copyright © 2014 Pearson Canada Inc. Application Extension 5b Using Microsoft Access Part 2: Using Information.
Chapter 1 Introduction.
Developing Forms and Subforms.
mysql and mysql workbench
Current outstanding balance
Chapter 4 MS ACCESS DATABASE.
MUNIS Payroll Training Time and Attendance Entry-Substitutes
Examples of Poor Primary Keys
Examples of Poor Primary Keys
Database Applications – Microsoft Access
PHPMyAdmin.
MIS2502: Data Analytics MySQL and SQL Workbench
Microsoft Office Access 2003
Access Tutorial 2 Building a Database and Defining Table Relationships
Access Tutorial 2 Building a Database and Defining Table Relationships
Database 2.
Relationships While we are on the subject of Relationships, let’s take a quick look at them.
Presentation transcript:

Form and Graphical User Interfaces

Lesson plan More about queries More about entering data into a table Form

More about queries Action query to insert a new record into a table Queries -> choose the table -> right mouse click -> SQL View INSERT INTO [User] VALUES ('000001', ' ', '34 Lancaster Road', 'Glastonbury', '06033',

Entering data into table

Entering data

Entering data into table

Entering data

Practice Change the Registration table so that every time, we add a new record, the list of available students (studentID, firstName, lastName) and courses (courseID, courseTitle)

Form Data entry forms are the primary means of entering data into tables in the database. Graphical User Interfaces

Form Spread-sheet like view: Graphical user interface view

Why Form? Graphical user interface view offers: –Presenting data in an organized and attractive manner –Offering the ability to limit the number of fields that appear on the form and allow or preventing editing a specific value

Basic Transaction Processing Form Serves transaction processing applications which add new records, or editing existing records

Basic Transaction Processing Form Example: create a form to add a new record or view existing record to Employee table

Basic Transaction Processing Form

Practice Create a form to add a new record and view existing records to Course table

Using Design Form Window Form -> Create form in Design view

Using Design Form Window

Private Sub AddNewRecord_Click() On Error GoTo Err_AddNewRecord_Click Dim sqlStatement As String sqlStatement = "insert into [Employee] values('" + Me.userssn + "','" + Me.username + "'," + Me.usersalary + ");" DoCmd.RunSQL (sqlStatement) Exit_AddNewRecord_Click: Exit Sub

Practice Create a form to add a new record to the Course table by Create form by Design View

Create forms with more than one table

Quiz 2 1.a: SELECT DirectorFirstName, DirectorLastName FROM Achievement WHERE Movie =‘Chicago’;

Quiz 2 1b SELECT Movie FROM Achievement WHERE DirectorFirstName=‘Conrad’ and DirectorLastName=‘Hall’;

Quiz 2 2a Movie Chicago Gangs of New York

Quiz 2 2b: Syntax error. Missing From statement. It should be Select DirectorFirstName, DirectorLastName, Studio From Achievement Where movieID =‘200303’;

Quiz 2 3 Row 1 and Row 3 will be deleted

Create forms with more than one table

Adding Option Groups

Adding List boxes

Practice Create forms in section a and b of project 1, part 4