MS Access: Complex Forms and Reports. Lesson Notes Author: Pamela Schmidt



Similar documents
Creating forms in Microsoft Access 2007

Using Microsoft Access

Using Microsoft Access

Access 2007 Creating Forms Table of Contents

Microsoft Access GUI Building

Creating Calculated Fields in Access Queries and Reports

Access Tutorial 6: Form Fundamentals

Knowledgebase Article

4. The Third Stage In Designing A Database Is When We Analyze Our Tables More Closely And Create A Between Tables

Designing Reports in Access

MICROSOFT ACCESS A. CREATING A DATABASE B. CREATING TABLES IN A DATABASE

INTRODUCTION TO MICROSOFT ACCESS MINIMAL MANUAL

SQL Server 2005: Report Builder

DataPA OpenAnalytics End User Training

Presentations and PowerPoint

9 CREATING REPORTS WITH REPORT WIZARD AND REPORT DESIGNER

Access Tutorial 9: Advanced Forms

Microsoft Office Access 2010: Intermediate. Course Overview Course Introduction. Course Length: 1 Day. Course Overview

Company Setup 401k Tab

Windows: File Management. Lesson Notes Author: Pamela Schmidt

Access Tutorial 8: Combo Box Controls

Asset Track Getting Started Guide. An Introduction to Asset Track

Learning Services IT Guide. Access 2013

General User/Technical Guide for Microsoft Access

paragraph(s). The bottom mark is for all following lines in that paragraph. The rectangle below the marks moves both marks at the same time.

Navigating Microsoft Word 2007

MS Outlook Express: Basics. Lesson Notes Author: Pamela Schmidt

Joins Joins dictate how two tables or queries relate to each other. Click on the join line with the right mouse button to access the Join Properties.

Microsoft Access Basics

Using the Drag-and-Drop Report Builder

Welcome to the topic on Master Data and Documents.

MICROSOFT ACCESS STEP BY STEP GUIDE

Mail Merge Creating Mailing Labels 3/23/2011

Steps to Create a Database

Installing a Browser Security Certificate for PowerChute Business Edition Agent

INFOASSIST: REPORTING MADE SIMPLE

Inking in MS Office 2013

Giving users forms instead of tables lets them enter and manipulate data while protecting the tables structure (field properties, etc.).

Access Part 2 - Design

EXCEL FINANCIAL USES


CREATING FORMAL REPORT. using MICROSOFT WORD. and EXCEL

Microsoft Access XP Beginners: Exercises

Access 2010: The Navigation Pane

Microsoft Access 2007 Advanced Queries

Introduction. Inserting Clip Art and Pictures. Word To Locate Clip Art:

Sophos Reporting Interface Creating Reports using Crystal Reports 2008

Getting Started Using AudibleManager. AudibleManager 5.0

Maximizing the Use of Slide Masters to Make Global Changes in PowerPoint

Utility Software II lab 4 Jacek Wiślicki, jacenty@kis.p.lodz.pl original material by Hubert Kołodziejski

A database is a collection of data organised in a manner that allows access, retrieval, and use of that data.

Getting Started with Crystal Reports Session Description:

Microsoft Access 2000

Styles, Tables of Contents, and Tables of Authorities in Microsoft Word 2010

PowerWorld Simulator

Creating a Form. A form is something that is created allowing users to enter information in a more visual manner than a datasheet view.

Microsoft Access Rollup Procedure for Microsoft Office Click on Blank Database and name it something appropriate.

2. Building Cross-Tabs in Your Reports Create a Cross-Tab Create a Specified Group Order Filter Cross-Tab by Group Keep Groups Together

Web Intelligence User Guide

User Services. Intermediate Microsoft Access. Use the new Microsoft Access. Getting Help. Instructors OBJECTIVES. July 2009

MS Access. Microsoft Access is a relational database management system for windows. Using this package, following tasks can be performed.

Introduction to Microsoft Excel 2007/2010

Microsoft Excel 2007 Level 2

Ohio University Computer Services Center August, 2002 Crystal Reports Introduction Quick Reference Guide

Sample Table. Columns. Column 1 Column 2 Column 3 Row 1 Cell 1 Cell 2 Cell 3 Row 2 Cell 4 Cell 5 Cell 6 Row 3 Cell 7 Cell 8 Cell 9.

Page Numbering for a Thesis or Dissertation

Account Create for Outlook Express

Course: Access Cragwood Rd, Suite 35 South Plainfield, NJ Victoria Commons, 613 Hope Rd Building #5, Eatontown, NJ 07724

Downloading RIT Account Analysis Reports into Excel

Microsoft Access Introduction

Form Management Admin Guide

SECTION 5: Finalizing Your Workbook

Database Forms and Reports Tutorial

Managing your Windows 7 Task Bar and Start Menu

Step Sheet: Creating a Data Table and Charts

Creating a Calendar in CorelDRAW

BIGPOND ONLINE STORAGE USER GUIDE Issue August 2005

Business Objects Version 5 : Introduction

Google Docs A Tutorial

Guide to Setup using Microsoft Outlook Express

Install MS SQL Server 2012 Express Edition

Intellect Platform - The Workflow Engine Basic HelpDesk Troubleticket System - A102

Microsoft Access 2010 Overview of Basics

Building A Web Database Using Contextual Mode

Working with Tables: How to use tables in OpenOffice.org Writer

Zoho CRM and Google Apps Synchronization

Tutorial: Creating a form that s the results to you.

Excel I Sorting and filtering Revised February 2013

Instructions for Formatting MLA Style Papers in Microsoft Word 2010

CS1100: Access Reports

Aspect WordPress Theme

Microsoft PowerPoint Tutorial

Microsoft Office Access 2007 Basics

Excel 2007: Basics Learning Guide

BID2WIN Workshop. Advanced Report Writing

Instructions for Creating Silly Survey Database

Les s on Objectives. Student Files Us ed

Introduction to Microsoft Access 2010

User Services. Microsoft Access 2003 II. Use the new Microsoft

Simple Invoicing Desktop Database with MS Access c 2015 by David W. Gerbing School of Business Administration Portland State University

Transcription:

Lesson Notes Author: Pamela Schmidt Forms Multiple Sub-forms A sub-form is just a form imbedded into another form. The sub-form is usually a tabular form. A sub form can be created with the wizard at the time of creating the main form, but only one sub-form can be created using this method. Drag and Drop Method of adding a Sub-form Create the form to be added, and then close the form. Open the main form in the design mode. Restore down the Main form so the list of forms can be seen. Drag the sub-form onto the main form. Master/Child Relationship In order for the sub-form to display the correct data, there has to be a relationship between the main form and the sub-form. To link the Child Field from the subform to the Master Field from the main form open the properties of the subform and fill in the field names. 1 MS Access: Level II (2688-01)

Dlookup Function DLookup(expr, domain, criteria) exp = what should show domain = where to get it criteria = what should match Use the text box tool to create an unbound control field. Go into the control s properties, select the Data, Control Source. Click on the button with the ellipse to build the function. The Expression Builder will appear Choose the function from the list of Built-In Functions =DLookUp("[tblClasses]![ClassName]","tblClasses","[tblClasses]![ClassCode]=form![ClassCode]") Looks up the class name from the class table where the class code in the class table matches the class code in the current form. Note: The exp and the criteria, field and form names are in square brackets. The domain is not in square brackets. Each of the three sections is surrounded by quotes. The current form is designated by form! before the field needed for the match. Do not use spaces in a function unless it is part of a table/field name. Several fields can be combined to display as one by combining them using an & between them. Be sure to put any text in quotes. =DLookUp("[tblClasses]![ClassName]","tblClasses","[tblClasses]![ClassCode]=form![ClassCod e]") & " - " & DLookUp("[tblClasses]![Credits]","tblClasses","[tblClasses]![ClassCode]=form![ClassCode]") & " credits" This control displays the class name, a dash, and the number of credits with the word credit after the credit value. 2

Display Totals from a Subform To display a total from a subform, use the sum function in the subform s footer to calculate the total. =Sum(field) Under the properties for the control, name the control. On the main form, build a bound control that pulls the total from the subform. =[name of subform]![name of total field] Form Footer -invisible To make the Form Footer invisible, in the design mode of the form, right click on the form footer and select properties. On the Format tab, make Visible = NO. Locking and Disabling a Bound Control If the user is not to change the data in a bound control, the control can be locked. When a control is locked, the user can still click into the control, but will not be able to change the data. If the user should be restricted from even clicking on the control, Enable should be set to No. Locking a Bound Control In the properties of the bound control, choose Data, Locked. Disabling a Bound Control In the properties of the bound control, choose Enable, No. Note: If a control is set to Locked = Yes and Enable = Yes, the control will be grayed out. 3

Reports Grouping and Sorting The data on a report can be grouped by one or more fields. ie by State, or by City and State Using the Wizard By using the Report Wizard, adding multiple tables or queries will allow the wizard to create the groups. Adding a Grouping After the report is created, to add a group or change a sort, in the design mode right click on the square in the upper left hand corner of the report. Select Sorting and Grouping off the pop up menu. In the dialog box that opens, add/remove grouping, and change the sort order. Group Headers and Group footers can be turned on and off. Other options are the Keep Together feature which does not allow breaks in grouped data if it will fit on one page. Calculations Using the Wizard When using the Report Wizard to create a report with groupings, if there is a field that can be calculated, a button will appear in the wizard allowing basic functions. These calculations are for the group and show up in a Group Footer. Adding a Calculation Control A calculation can be added to a report by using the text control. Create the Text Control then key in the calculation or use the Builder to create the calculation. Be sure to start the calculation with an equal sign and put field names in square brackets. 4

Trim Function The Trim Function removes excess spaces in fields. The Label Wizard automatically creates the Trip Function. Sub-reports A sub-report is just a report imbedded into another report. It is not the same as Grouping, but does allow unrelated information to be placed on the same report. Drag and Drop Method of adding a Sub-report Create the report to be added, and then close the report. Open the main report in the design mode. Restore down the Main report so the list of reports can be seen. Drag the sub-report onto the main report. Page Breaks To place Page Breaks into a report, use the Page Break tool off the tool bar. Place the Page Break in a footer. Can Grow Controls A control can be made to appear only when needed by making sure that the field properties have the Can Grow set to yes, then resizing the control to as small as possible. Changing Report Source Once a report has been created the Record Source can be changed easily as long as all the field names are the same. To change the Record Source, open the properties of the Report. On the Data tab, change the Record Source to the new source. Note: to save time in making new reports, take existing reports, copy the report, change the Record Source and Groupings. 5