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.

Slides:



Advertisements
Similar presentations
The Ribbon Standard to all Office 2007 applications Organized by feature and functionality Navigation Pane Access to all objects in the current database.
Advertisements

Database Basics. What is Access? Database management system Computer-based equivalent of a manual database Makes it easy to organize and update information.
BIM211 – Visual Programming Database Operations 1.
Microsoft Office 2010 Access Chapter 1 Creating and Using a Database.
Access - Project 1 l What Is a Database? –A Collection of Data –Organized in a manner to allow: »Access »Retrieval »Use of That Data.
Automating Tasks With Macros
Microsoft Office 2007 Access Integration Feature Sharing Data Among Applications.
Creating Custom Forms. 2 Design and create a custom form You can create a custom form by modifying an existing form or creating a new form. Either way,
Creating a Blank Database 1. Open up Microsoft Access 2. Click on Blank document button 3. On the right panel, Specify the location for saving your database.
COMPREHENSIVE Access Tutorial 2 Building a Database and Defining Table Relationships.
Office 2003 Introductory Concepts and Techniques M i c r o s o f t Access Project 1 Creating and Using a Database.
FIRST COURSE Access Tutorial 2 Building a Database and Defining Table Relationships.
Tutorial 6 Using Form Tools and Creating Custom Forms
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.
Office 2003 Post-Advanced Concepts and Techniques M i c r o s o f t Word Project 8 Working with Macros and Visual Basic for Applications (VBA)
Access Tutorial 10 Automating Tasks with Macros
Advanced Tables Lesson 9. Objectives Creating a Custom Table When a table template doesn’t suit your needs, you can create a custom table in Design view.
CHAPTER 9 DATABASE MANAGEMENT © Prepared By: Razif Razali.
Advanced Forms Lesson 10.
XP New Perspectives on Microsoft Access 2002 Tutorial 51 Microsoft Access 2002 Tutorial 5 – Enhancing a Table’s Design, and Creating Advanced Queries and.
Access Tutorial 2 Building a Database and Defining Table Relationships
1 Lesson 22 Getting Started with Access Essentials Computer Literacy BASICS: A Comprehensive Guide to IC 3, 3 rd Edition Morrison / Wells.
1 Overview of Databases. 2 Content Databases Example: Access Structure Query language (SQL)
Creating a Web Site to Gather Data and Conduct Research.
® Microsoft Office 2013 Access Building a Database and Defining Table Relationships.
Automating Database Processing Chapter 6. Chapter Introduction Design and implement user-friendly menu – Called navigation form Macros – Automate repetitive.
Management Information Systems MS Access MS Access is an application software that facilitates us to create Database Management Systems (DBMS)
Lesson 17 Getting Started with Access Essentials
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 2 1 Microsoft Office Access 2003 Tutorial 2 – Creating And Maintaining A.
Key Applications Module Lesson 21 — Access Essentials
® Microsoft Access 2010 Tutorial 2 Building a Database and Defining Table Relationships.
Access Manual 2 By Dhawala Kovuri Elham S.Khorasani Ismail Guneydas.
Computer Literacy BASICS: A Comprehensive Guide to IC 3, 5 th Edition Lesson 23 Getting Started with Access Essentials 1 Morrison / Wells / Ruffolo.
MS Access 2007 Management Information Systems 1. Overview 2  What is MS Access?  Access Terminology  Access Window  Database Window  Create New Database.
® Microsoft Office 2010 Building a Database and Defining Table Relationships.
Office Management Tools II Ms Saima Gul. Office Management Tools II Ms Saima Gul.
Office 2003 Post-Advanced Concepts and Techniques M i c r o s o f t Access Project 7 Advanced Report and Form Techniques.
Microsoft Access 2010 Chapter 8 Advanced Form Techniques.
A Skills Approach Access 2010 Working with Tables © 2012 The McGraw-Hill Companies, Inc. All rights reserved Chapter 2.
Copyright 2007, Paradigm Publishing Inc. ACCESS 2007 Chapter 3 BACKNEXTEND 3-1 LINKS TO OBJECTIVES Modify a Table – Add, Delete, Move Fields Modify a Table.
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.
1/62 Introduction to and Using MS Access Database Management and Analysis Yunho Song.
Chapter Thirteen Working with Access Databases and LINQ Programming with Microsoft Visual Basic th Edition.
Database Copyright 2006 South-Western/Thomson Learning.
1 MIS309 Database Systems Introduction to Microsoft Access.
Introduction to a Database Defining a database Database window in Access The six items in window: Tables, Queries Forms, Reports, Macros, Modules.
INTRODUCTION TO ACCESS. OBJECTIVES  Define the terms field, record, table, relational database, primary key, and foreign key  Create a blank database.
1Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Office Access 2010 by Robert Grauer, Keith Mast, and Mary Anne.
Fourth R Inc. 1 WELCOME TO MICROSOFT OFFICE ACCESS 2003 INTERMEDIATE COURSE.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 6 1 Microsoft Office Access 2003 Tutorial 6 – Creating Custom Forms.
Access Queries and Forms. Adding a New Field  To insert a field after you have saved your table, open Access, and open the table  It is easier to add.
Karolina Muszyńska
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.
Access Tutorial 2 Building a Database and Defining Table Relationships
Building a User Interface with Forms
Introduction to Web programming
Database application MySQL Database and PhpMyAdmin
Creating and Using a Database
DB Implementation: MS Access Forms
Microsoft Office Access 2003
Microsoft Office Access 2003
CIS16 Application Programming with Visual Basic
DB Implementation: MS Access Forms
Microsoft Official Academic Course, Access 2016
Access Tutorial 2 Building a Database and Defining Table Relationships
Access Tutorial 2 Building a Database and Defining Table Relationships
Tutorial 10 Automating Tasks with Macros
Presentation transcript:

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 Three tables, which can be logically connected Queries for typical selection and combined listing of it Forms for entering new data, modifying data (to do the database functions, depending on application) Example of report with use of grouping Task #2 Task #3 Draw the E-R diagram for your database

Create new database, choose a suitable name.

Create at least three tables, then insert some testing data.

Define type of each of fields. General text should be the Varchar2 type. Many other properties can be set. Use help if you are not sure. Column description can be set; it is used, when a form is created.

Query can be used for selecting only some of rows by use filtering, or when working with data, presented in more tables, if they are logically connected. Queries is typically used as sources of data for forms.

Connect tables by drag-and-drop a field from one table to the respective field in the other table. Connection line will be added to the scheme. Can be selected by mouse and erased by the "Delete" key on keyboard, or by local menu (use right mouse button)

Now, you can select items from both tables; query will return only connected data (rows) from the tables.

Form can be created using the Create ribbon. You can select "Form design" to create form in the design view. In the next example, the "Form Wizard" is used. Prepared form can be easily adapted (or adjusted), if needed, by "Open in design view" from the list of objects.

Last example is the "Report Wizard". Reports are used when printing data, or exporting to a pdf format.

Skipped: data source selection (query with combination of users and cars, who them rented). Next slide: Grouping options:

… open the prepared report in the design view:

Query can be opened in the same style, as table. You can even add new data to original table. If the query doesn't contain some of fields, the default value will be set. If no default value has been defined while designing the table, null will be used. If the null value is not acceptable, an error will be reported.

The next features, as use of the Visual Basic, is not obligatory, but will be counted as some extra points. On the next slide, only cars, for where no client is defined, will be listed. Result = list of available cars.

Lists only cars, where the user id is bigger then zero – zero means “no user”: (for use this convention, the link to user table cannot be fixed as table relation [primary to public key], because of there is no user with id of zero; alternatively specific user, for example with id=1, can be created)

To create the main menu, create a new Form in the design view, place buttons and by the right mouse button, look for their properties. For assigning a function, the "On Click" event should be filled. The possibility of "Open Form..." is the most often. Another easy to create is a closing of the application (a Quit button).

One of possibilities is to set a Visual Basic procedure. For beginners, creating of an macro could be easier.

... screens from defining a macro... "Control name" is the name of an object on the active Form. Active record is bind with the line in the table, by using "SaveRecord" can be written back to the table. Before this, values can be changed by the macro. On the end, the active Form is closed.

... create a new button while design view of a form...

If the Visual Basic macro should be used, it has to be defined (written) before.

For setting a link value to another table, you can select the value from a combo box. Combo box should be prefilled with a corresponding data. On the next slide, common situation (just link to a query data) is shown. On the second slide, combo box for an another table link is prefilled with an SQL command.

Text of this request is: SELECT Zákazník.ID_zakaznika, Zákazník.Příjmení, Zákazník.Jméno FROM Zákazník; Resulting behavior after executing: (the SELECT command returns three columns)

All for now.