Course Form In the main window (cf. Figure 2), click on Forms, then double-click on Create form by using wizard. Follow the sequence of actions below.

Slides:



Advertisements
Similar presentations
BASIC SKILLS AND TOOLS USING ACCESS
Advertisements

Microsoft Access.
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.
Microsoft Word By: Phuong Nguyen.
AS ICT Building MS-Access Databases. Creating a Combo Box Drop Down List 1.When creating a Field requiring a Drop Down list in a Table, select the Lookup.
Working with Tables for Page Design – Lesson 41 Working with Tables for Page Design Lesson 4.
INTRODUCTORY MICROSOFT WORD Lesson 7 – Working With Documents
Loading Excel Double click the Excel icon on the desktop (if you have this) OR Click on Start All Programs Microsoft Office Microsoft Office Excel 2003.
Chapter 5 Multitable Forms
Microsoft Office 2010 Access Chapter 1 Creating and Using a Database.
 Microsoft Access is one of two primary database offering from Microsoft.  Access is a network/desktop-based database.  Advantage: It is easy to use.
Chapter 3 Tables and Page Layout
Microsoft Office 2007 Access Chapter 2 Querying a Database.
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 And Maintaining A Database. 2 Learn the guidelines for designing databases When designing a database, first try to think of all the fields of.
FIS 318/618: Financial Systems & Databases Forms and Reports Oakland University School of Business Administration Accounting and Finance Joe Callaghan.
Introduction To Form Builder
Chapter Extension 6 Using Microsoft Access © 2008 Pearson Prentice Hall, Experiencing MIS, David Kroenke.
Access Lesson 4 Creating and Modifying Forms
MS-Access XP Lesson 5. Creating a Query with Expression Builder Eg. Consider the following table. Table Name: Overtime Fields & Data types: Emp No (Number),
Access Tutorial 10 Automating Tasks with Macros
Chapter 9 Macros, Navigation Forms, PivotTables, and PivotCharts
Office 2003 Advanced Concepts and Techniques M i c r o s o f t Access Project 4 Reports, Forms, and Combo Boxes.
Chapter 3 Maintaining a Database
Tutorial 6 Using Form Tools and Creating Custom Forms
® Microsoft Access 2010 Tutorial 6 Using Form Tools and Creating Custom Forms.
Advanced Forms Lesson 10.
CPSC 203 Introduction to Computers T59 & T64 By Jie (Jeff) Gao.
XP New Perspectives on Microsoft Access 2002 Tutorial 51 Microsoft Access 2002 Tutorial 5 – Enhancing a Table’s Design, and Creating Advanced Queries and.
PowerPoint. Basic Vocabulary Slide - Presentation - Slide layout – ► ► ► ► a single page in PowerPoint all the slides for a speech all the slides for.
Using Form Tools and Creating Custom Forms Microsoft Access 2010.
Chapter 6 Advanced Report Techniques
Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin TECHNOLOGY PLUG-IN T8 DECISION MAKING USING ACCESS.
Microsoft Access Get a green book. Page AC 2 Define Access Define database.
Microsoft Access Data Base Application. A Few Terms Database – A collection of related information. Database – A collection of related information. Field.
Office 2003 Advanced Concepts and Techniques M i c r o s o f t Access Project 5 Enhancing Forms with OLE Fields, Hyperlinks, and Subforms.
Microsoft Access 2000 Presentation 2 Creating Databases Part I (Creating Tables)
Office 2003 Advanced Concepts and Techniques M i c r o s o f t Access Project 5 Enhancing Forms with OLE Fields, Hyperlinks, and Subforms.
Microsoft Access You will need a pen/pencil.. What is Microsoft Access? Access is a database management system.  Create a database, add/change delete.
Create Forms Lesson 5. Objectives Software Orientation The Forms group (below) is located on the Create tab in the Ribbon and can be used to create a.
COMPREHENSIVE Access Tutorial 6 Using Form Tools and Creating Custom Forms.
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.
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.
Microsoft Access 2000 Presentation 3 Creating Databases Part II (Creating Forms)
Introduction to a Database Defining a database Database window in Access The six items in window: Tables, Queries Forms, Reports, Macros, Modules.
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.
Build a database V: Create forms for a new Access database Overview: A window into your data So far in this series of courses, you’ve built tables, relationships,
Chapter 3 Automating Your Work. It is frustrating when you have to type the same passage of text repeatedly. For example your name and address. Word includes.
McGraw-Hill/Irwin © The McGraw-Hill Companies, All Rights Reserved TECHNOLOGY PLUG-IN T8 Decision Making Using Access.
CPSC 203 Introduction to Computers T97 By Jie (Jeff) Gao.
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Access 2002 Advanced Form Design.
Modify Tables and FieldsModify Tables and Fields Lesson 4 © 2014, John Wiley & Sons, Inc.Microsoft Official Academic Course, Microsoft Word Microsoft.
1 After completing this lesson, you will be able to: Create a form using AutoForm. Create a form using the Form Wizard. Add controls to a form. Modify.
Key Applications Module Lesson 22 — Managing and Reporting Database Information Computer Literacy BASICS.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 6 1 Microsoft Office Access 2003 Tutorial 6 – Creating Custom Forms.
Access Module Implementing a Database with Microsoft Access A Great Module on Your CD.
Web and Multimedia Development Copyright © Genetic Computer School 2007WM LESSON OVERVIEW  Use of Tables  Creating Tables  Try It – 1  Creating.
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.
Building a User Interface with Forms
Developing Forms and Subforms.
Access Project 8 Using Visual Basic for Applications (VBA) and Creating Multi-Page Forms.
Enhancing Forms with OLE Fields, Hyperlinks, and Subforms
Chapter 7 Advanced Form Techniques
Microsoft Office Access 2003
Microsoft Office Access 2003
CREATING QUERIES, FORMS, AND REPORTS Section 3
Presentation transcript:

Course Form In the main window (cf. Figure 2), click on Forms, then double-click on Create form by using wizard. Follow the sequence of actions below. Creating Forms

In Figure 12, choose the table that you want to create a form for, in our case Course, then choose all the fields so that they are moved from the Available Fields to Selected Fields. In the figure, this is already done. Press Next. In the second wizard window, choose a layout form (Columnar is our choice). Press Next. In the third wizard window, choose a style (Standard is our choice). Press Next. In the fourth wizard window, choose a name for this form (Course is fine), and keep the option Open the form to view or enter data. Press Finish. Course Form

A window as in Figure 13 appears. It contains data from our Course table. You can browse through the entries with the buttons on the bottom part of the window. Note that the shown labels contain the strings that we chose in the Caption field when the created the table. We can now adjust the layout of the form by entering the form in design view, e.g. by pressing the left-most button on the tool bar. Course Form

Adjust the length of fields by dragging their borders to an appropriate size. Prevent users from editing the primary key by (a) right- clicking in the CourseID field and choosing Properties from the popup menu or (b) by double-clicking on the CourseID field. Properties are your way of managing forms. Get used to the ugly display of information and the sparse information. This is the place where you do all the important changes to a form. Disable the CourseID field by setting the property Enable (in tab All or Data) to No. Close the Properties-window, save the form and open it in form view. It now looks like Figure 15. Course Form

How to get rid of displayed keys in the form. Open the Course form in design view and double click on the field (not the label) CourseInstID. This opens the Property window for the combo box CourseInstID. And now comes the cryptic part which would take ages to find in the documentation! Instead of basing the contents of this combo box on a query that returns only the institution id, we base it on a query that also returns the institution abbreviation. Switch to tab Data. Put the cursor in the field Row Source (where some SQL is displayed) and click on the …-Button that appears to the right of the field. That opens a query editor as shown in Figure 16.

How to get rid of displayed keys in the form

Drag the text InstAbbr from the upper part of the window to the empty column on the lower part of the window so that it appears next to InstID.

How to get rid of displayed keys in the form Close the query builder and save the query. You are now back in the Properties window for CourseInstID. In tab Data, make sure that Bound Column contains a 1 (digit one) if InstID is the first column returned from your query. Switch to tab Format. Change the value for Column Count from 1 to 2 (our query returns now two columns not one). Change the value for Column Widths from something like 2.54cm to 0cm;3cm (meaning that you do not at all want to display the first column (0cm) but the second column with a width of 3cm). This was straightforward, right? Close the Properties-window. Change the label of CourseInstID to e.g. Responsible Institution. Save the form and display it in form view (cf. Figure 18).

How to get rid of displayed keys in the form

Student Form with Course Information In the first wizard window, we choose fields from the following tables Student: All fields Participate: PartCourseID, PartYear Course: CourseName, CourseLevel Institution: InstAbbr, InstName In the second wizard window, choose to see data by student and form with subforms. In the third wizard window, choose Tabular layout. In the fourth wizard window, choose Standard style. In the fifth window, accept the suggested names Student and Participate Subform and finish. The following first look of our form is shown.

Student Form with Course Information

Now edit the form in design view: Disable the StudentID-field. Adjust the length of some fields and labels if necessary. Do not display the PartCourseID but the course abbreviation. Open the properties of the field PartCourseID. Change the query to include not only Course.CourseID but also Course.CourseAbbr. Follow the subsequent steps from above (How to get rid of displayed keys in the form) by checking andif necessary editing the properties Bound Column (new value: probably 1), Column Count (new value: 2), Column Widths (new value e.g.: 0cm;3cm). Save the form and display it in form view (cf. Figure 20)

Student Form with Course Information

Adding a button for editing course information From the form that we created above, we also want to add new courses. We add a button to the Student-form that opens our previously created form Course from this Student-form window. Open the Student-form in design view. If not already open, open the floating window Toolbox from the menu View Toolbox. Choose a Command Button from the toolbox (the tool tips over the icons will tell you which is the command button). Draw the button on the form. Automatically, the command button wizard will open and help you configure the button.

Adding a button for editing course information In Categories, choose Form Operations. In Actions, choose Open Form. Click Next and identify the form (i.e. Course) that you want to open. Choose Open the form and display all records. Click Next. Choose an appropriate name or symbol for the button on the form. Click Next. Choose a name for the button widget. Click Finish. Save the form, open it in form view and check that the button works by opening the course form and adding a new course.

Adding a button for editing course information If you now try to assign students to the new course, you will note that the new course is not available in the Participate-subform! You must refresh the Student form before this is possible.

Simple Report In the Access main window, choose Reports. Click on Create report by using wizard. In the first wizard window, you have to choose which columns from which tables you want to display on your report (just as on a form). Choose the following columns: From table Course: CourseAbbr, CourseName From table Participate: PartYear, From table Student: StudentLastName, StudentFirstName Click Next. View data by Course. Click Next. Choose a second grouping level on the year the students to the course. Choose PartYear as an additional grouping level.

Simple Report Press on the > button to update the report preview on the right-hand side of the window (cf. Figure 21).

Simple Report Click Next. Order the students by last and first name. Click Next. Choose e.g. a Stepped lay out. Click Next. Choose e.g. Formal style. Click Next. Set or accept the name for the report, e.g. CourseReport. Click Finish. A report as in Figure 22 displays:

Simple Report You can now choose to open the report to make changes to the layout, e.g. choosing a different font or size for some fields, adjusting the lengths of fields, etc. The handling of a report layout is similar to the handling of format layouts.