An Introduction to Forms (continued). The Major Steps of a MicroSoft Access Database  Tables  Queries  Forms  Macros  Reports  Modules On our road.

Slides:



Advertisements
Similar presentations
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.
Advertisements

Customizing Reports. Custom Reports A report is a formatted hardcopy of the contents of one or more tables from a database. Although you can format and.
XP New Perspectives on Microsoft Access 2002 Tutorial 61 Microsoft Access 2002 Tutorial 6 – Creating Custom Reports.
Microsoft Office 2010 Access Chapter 1 Creating and Using a Database.
BA271 Week 6 Lecture Database Overview Dave Sullivan.
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,
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 2 1 Microsoft Office Access 2003 Tutorial 2 – Creating And Maintaining A.
Microsoft Access 2003 Introduction To Microsoft Access 2003.
Access Tutorial 1 Creating a Database
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.
Access Tutorial 4 Creating Forms and Reports
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 1 1 Microsoft Access 2003 Tutorial 1 – Introduction To Microsoft Access 2003.
1 Computing for Todays Lecture 16 Yumei Huo Fall 2006.
Access Tutorial 4 Creating Forms and Reports
Access Ch 5 Review.
Tutorial 1 Creating a Database. Objectives Learn basic database concepts and terms Learn basic database concepts and terms Explore the Microsoft Access.
SESSION 5.1 In this session we will be exploring Pattern Match Queries List-Of-Values Queries, Non-Matching Values in Queries Both the “And” and the “OR”
XP New Perspectives on Microsoft Access 2002 Tutorial 41 Microsoft Access 2002 Tutorial 4 – Creating Forms and Reports.
Your Tour Guide is Jim Provensal. What We Will Cover s Introduction to MicroSoft Access u What is a database u What is a “Relational” Database s The Major.
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.
Microsoft Office 2013 ®® Access Tutorial 4 Creating Forms and Reports.
Chapter 1 Databases and Database Objects: An Introduction
MICROSOFT WORD GETTING STARTED WITH WORD. CONTENTS 1.STARTING THE PROGRAMSTARTING THE PROGRAM 2.BASIC TEXT EDITINGBASIC TEXT EDITING 3.SAVING A DOCUMENTSAVING.
Creating your own form from scratch.. To create a custom form, you can modify an existing form or design and create a form from scratch. In either case,
® Microsoft Access 2010 Tutorial 1 Creating a Database.
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 Access 2002 Tutorial 21 Microsoft Access Tutorial 2 – Creating And Maintaining A Database.
Microsoft Office 2007 Access Chapter 6 Using Macros, Switchboards, PivotTables, and PivotCharts.
XP 1 Microsoft Access 2003 Introduction To Microsoft Access 2003.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 2 1 Microsoft Office Access 2003 Tutorial 2 – Creating And Maintaining A.
FIRST COURSE Access Tutorial 4 Creating Forms and Reports.
Examining data using Microsoft Access Queries Using Criteria and Calculations SESSION 3.2 This section covers specifying an exact match condition in a.
Tutorial 4 Creating Forms and Reports
® Microsoft Office 2010 Access Tutorial 3 Maintaining and Querying a Database.
XP New Perspectives on Microsoft Access 2002 Tutorial 1 1 Microsoft Access 2002 Tutorial 1 – Introduction To Microsoft Access 2002.
An Introduction to Office  Office XP and Office 2007 look very different  This introduction should: ◦ Introduce you to some of the basic changes.
SESSION 3.1 This section covers using the query window in design view to create a query and sorting & filtering data while in a datasheet view. Microsoft.
CREATING FORMS AND REPORTS By: Dr. Ennis-Cole. OBJECTIVES: Create and change a form with the Wizard Navigate and find data using a form Preview and print.
Office 2003 Post-Advanced Concepts and Techniques M i c r o s o f t Access Project 7 Advanced Report and Form Techniques.
XP New Perspectives on Microsoft Access 2002 Tutorial 1 1 Microsoft Access 2002 Tutorial 1 – Introduction To Microsoft Access 2002.
Fall 2003Sylnovie Merchant, Ph.D. ACCESS Tutorial Note: The purpose of this tutorial is to provide an introduction to some of the functions of ACCESS in.
BA271 Week 6 Lecture Dave Sullivan. Goal for today… Status Report – Review where we are … Status Report – Review where we are … Begin learning about Microsoft.
An Introduction to Forms. The Major Steps of a MicroSoft Access Database  Tables  Queries  Forms  Macros  Reports  Modules On our road map, we are.
INTRODUCTION TO ACCESS. OBJECTIVES  Define the terms field, record, table, relational database, primary key, and foreign key  Create a blank database.
Customizing Reports Adding a Date to a Report Reference Window Adding a Date to a Report Display the report in the design view Click the Text Box Tool.
Creating a multi-page form using Tab Controls. In today’s class, we will be using the Tab Control method to create the Form / SubForm combination.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 6 1 Microsoft Office Access 2003 Tutorial 6 – Creating Custom Forms.
XP New Perspectives on Microsoft Office Access 2003 Tutorial 4 1 Microsoft Office Access 2003 Tutorial 4 – Creating Forms and Reports.
Microsoft Access 2013 ®® Case Study Creating a Database.
Tutorial 1 Creating a Database
Access Tutorial 1 Creating a Database
Microsoft Office Access 2003
Access Creating Forms and Reports
Access Tutorial 4 Creating Forms and Reports
Microsoft Office Access 2003
Tutorial 1 – Introduction To Microsoft Access 2003
Access Tutorial 1 Creating a Database
Case Study Creating a Database
Microsoft Office Access 2003
Tutorial 1 – Introduction To Microsoft Access 2003
Access Tutorial 1 Creating a Database
Microsoft Office Access 2003
Access Tutorial 1 Creating a Database
Access Tutorial 4 Creating Forms and Reports
Access Tutorial 1 Creating a Database
Learning the Basics of Microsoft Word 2010 for Microsoft Windows
HIBBs is a program of the Global Health Informatics Partnership Learning the Basics of Microsoft Word 2019 and Microsoft office support TFN
Tutorial 4 Creating Forms and Reports
Presentation transcript:

An Introduction to Forms (continued)

The Major Steps of a MicroSoft Access Database  Tables  Queries  Forms  Macros  Reports  Modules On our road map, we are here!

SESSION 4.2 This section covers creating a form with a main form and sub-form, creating a report using the Report Wizard, inserting a picture in a report or form and print / print- preview a report.

To create a form based on two tables, you must first define a relationship between two tables. In Tutorial 3, we defined a one-to-many relationship between the Customer (primary) and Order (related) tables, so we are now ready to create the form based on both tables.

Let’s say that you were looking at a form with all your customer information so that you could use some of this information in order to find the invoices that have been produced for this customer. It would be much more convenient to have a form that showed all the customer data on the top half and all the order information for that customer in datasheet format on the bottom.

The same principal applies to reports. You could create a report with a subreport showing the customer name and address on the top part and all the unpaid invoices for that customer on the bottom part. You could call this report a “Monthly Statement”.

A form with a SubForm and a Report with a SubReport are joined together much in the same manner as two tables were joined together in a relationship, by a common field. If you decide to create a Form/SubForm manually, you will need to create each form as an individual form first, and then from the design view of the Main Form you would insert the subform using a special tool.

Once the subform has been inserted into the Main Form you would then link the two forms together by opening the Main Form’s properties box and indicating in the properties box the common field that links the two together.

The Master Form would look something like this in the Design View Master Form Sub Form

You would link the two forms together in the properties window below.

When we click in either Link field a builder button appears that indicates a built-in helper.

This button will activate the Subform Field Linker dialog box.

This is also included in Access 97. ‘97

The final form would look something like this, showing the customer and orders.

Two sets of Navigation buttons appear near the bottom of the form.

The top set of navigation buttons is used to navigate through the orders for this customer.

The bottom set of navigation buttons is used to navigate through the list of customers.

Each time you change customers, the orders in the subform will change to the orders for the new customer that you are viewing.

Once you have created both the Master Form and the Sub Form as individual separate forms you would continue the process in the design view of the Master Form by clicking on the Tool Box button on your tool bar.

This will open your tool box. We will be exploring the different tools of the tool box during the next session. For now we are interested in only the subform/subreport tool.

To activate this tool, you click only once on it. The button will become inserted and you will notice that your cursor will change.

Without clicking, position the cursor in the upper left corner of where you want your subform to be and then click and hold the left mouse button.

While the mouse button is held down, draw a box that will be your subform, as shown below and then release the button. If you don’t get it just right, you can resize it or move it later.

A white box will appear with the word unbound in the upper left corner. This means that the subform object on the master form has not been linked to another form yet.

To begin the process of binding this form to it’s source object, right click anywhere in the white area, then click on the properties option of the resulting menu that appears with the left mouse button.

In the Source Object property shown in the properties window select the form that you created for your subform.

The final step is to indicate the common field that is found on both forms, such as the customernum field, if Access has not already found it for you.

Now, all that remains is to view the form in the Form View.

In today’s class, we will be using a shortcut method to create the Form / SubForm combination.

When you create a form containing data from two tables that have a one-to-many relationship, you actually create a main form for data from the primary table and a subform for data from the related table. Main Form SubForm

Common Field Access uses the defined relationship between the tables to automatically join the tables through the common field that exists in both tables.

We will also look at Creating a Report using the Report Wizard.

Tutorial 1 tells us that a report is a formatted hardcopy of the contents of one or more tables in a database. In Access, you can create your own reports or use the Report Wizard to create them for you. Like the Form Wizard, the Report Wizard asks you a series of questions and then creates a report based on your answers.

Whether you use the Report Wizard or design your own report, you can change the report’s design after you have created it. We will be looking at methods to do this with Forms and Reports during the next session.

Regardless of the method that you will be using to create your report, it is a good idea to sketch the report out on paper first.

The figure on the right shows a sketch of the report that Kim wants to create for Valle Coffee.

This sketch will give you not only an idea of the fields and tables needed in the report, but will also indicated if subreports are necessary.

In Access, you can insert a picture or other graphic image on a report or form to enhance the appearance of the report or form.

Sources of graphic images include (but are not limited to) Microsoft Paint, other drawing programs, and scanners.

The file containing the picture you need to insert is named ValleCup, and is located in the Tutorial folder on the student disk that you will use today.

Converting an Access 2000 Database to Access 97

Access 2000 includes a new feature that lets you convert a database to the previous version, Access97. When you convert an Access 2000 database to Access 97 format, any functionality that is specific to Access 2000 is lost. However, the database’s structure and data will be useable in the converted database.

Page AC 4.32 in your book discusses the method to use to convert an Access 2000 database back to an Access 97 database.

Finally, when you delete records in Access table, the space occupied by the deleted records on disk does not become available for other records. The same is true when you delete an object, such as a table, query, or form. To make space available, and to clean house, you must “Compact” a database.

Compacting a database rearranges the data and objects in a database and creates creates a smaller copy of the database. Unlike making a copy of the database file, which you do to protect your database against loss or damage, you compact the database to make it smaller, thereby making more space available on your disk.

In the Compacting process, Access actually makes a copy of your database and compacts the copy, leaving the original in tack, just in case. Before you can compact a database, you must first close it, but do not exit Access.

Page AC 4.32 Quick Check Review

Let’s take a few moments to break up into discussion groups. Each group will discuss the quick check questions on page AC 4.32 in your books. We will then review the answers at the end of the discussion.

Quick Check Review Session 4.2 1) How are a related table and a primary table associated with a form that contains a main form and a sub form?

Quick Check Review Session 4.2 2) Describe how you use the navigation buttons to move through a form containing a main form and a sub form.

Quick Check Review Session 4.2 3) When you use the report wizard, the report name is also used as the _______________.

Quick Check Review Session 4.2 4) Each item on a report in the design view is called a(n)__________

Quick Check Review Session 4.2 5) To insert a picture in a report, the report must be displayed in the __________ view.

Quick Check Review Session 4.2 6) Any text or graphic placed in the ____________ section of a report will appear only on the first page of the report.

Quick Check Review Session 4.2 7) Describe one advantage and one disadvantage of converting an Access 2000 database to an Access 97 format.

Your task is to work the exercises in Tutorial #4 from Page AC 4.15 through Page AC 4.32 Use Level 1 Disk 1 for this exercise.