Enhancing Forms with OLE Fields, Hyperlinks, and Subforms – Project 5.

Slides:



Advertisements
Similar presentations
Access 2007 ® Use Databases How can Microsoft Access 2007 help you structure your database?
Advertisements

The Ribbon Standard to all Office 2007 applications Organized by feature and functionality Navigation Pane Access to all objects in the current database.
Introduction to Microsoft Access
Chapter 5 Multitable Forms
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 Project Five Enhancing Forms with OLE Fields, Hyperlinks, and Subforms.
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
Tutorial 6 Using Form Tools and Creating Custom Forms
1 Computing for Todays Lecture 16 Yumei Huo Fall 2006.
Access Tutorial 4 Creating Forms and Reports
Multi-Table Forms Access – Lesson 5.
Access Ch 5 Review.
XP New Perspectives on Microsoft Access 2002 Tutorial 41 Microsoft Access 2002 Tutorial 4 – Creating Forms and Reports.
Database Applications – Microsoft Access Lesson 2 Modifying a Table and Creating a Form 45 slides in presentation Accessibility check 9/14.
With Microsoft Office 2007 Intermediate© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Office 2007 Intermediate.
© 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 4 – Creating New.
With Microsoft Access 2007 Volume 1© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Access 2007 Volume 1 Chapter.
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.
Advanced Report and Form Techniques – Project 7. 2 Project 7 Overview This project shows how to create queries for reports, add command buttons to forms,
XP Chapter 2 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Building The Database Chapter 2 “It is only the farmer.
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 2003 Define some key Access terminology: Field – A single characteristic or attribute of a person, place, object, event, or idea. Record.
 A database is a collection of data that is organized so that its contents can easily be accessed, managed, and updated. What is Database?
McGraw-Hill/Irwin ©2009 The McGraw-Hill Companies, All Rights Reserved Business Driven Information Systems 2e Plug-In T6: Basic Skills and Tools Using.
Management Information Systems MS Access MS Access is an application software that facilitates us to create Database Management Systems (DBMS)
Microsoft Access 2000 Presentation 2 Creating Databases Part I (Creating Tables)
Microsoft Access 2010 Chapter 5 Multitable Forms.
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.
XP New Perspectives on Microsoft Access 2002 Tutorial 21 Microsoft Access Tutorial 2 – Creating And Maintaining A Database.
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.
Tutorial 4 Creating Forms and Reports
® Microsoft Office 2010 Access Tutorial 3 Maintaining and Querying a Database.
MS Access 2007 Management Information Systems 1. Overview 2  What is MS Access?  Access Terminology  Access Window  Database Window  Create New Database.
Microsoft Office 2007 Access Chapter 3 Maintaining a Database.
Access Project 3 Notes. Introduction Maintaining the Database  Modifying the data to keep it up-to-date Restructure the Database  To change the database.
Microsoft Access 2010 Chapter 10 Administering a Database System.
Database collection of related information stored in an organized form Database program software tool for storage & retrieval of that information.
Access 2007 ® Use Databases How can Microsoft Access 2007 help you structure your database?
Databases,Tables and Forms Access Text by Grauer Chapters 1 & 2.
McGraw-Hill/Irwin © The McGraw-Hill Companies, All Rights Reserved TECHNOLOGY PLUG-IN T6 Basic Skills Using Access.
XP Chapter 2 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Building The Database Chapter 2 “It is only the farmer.
Maintaining a Database Access Project 3. 2 What is Database Maintenance ?  Maintaining a database means modifying the data to keep it up-to-date. This.
1 CSE 2337 Introduction to Data Management Access Book – Ch 1.
1/62 Introduction to and Using MS Access Database Management and Analysis Yunho Song.
© 2001 ComputerPREP, Inc. All rights reserved. Access 2000: Module II.
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.
Access Lessons 1, 2 and 3 ©2009 M and K Solutions, LLC – All Rights Reserved.
Lesson 4.  After a table has been created, you may need to modify it. You can make many changes to a table—or other database object—using its property.
Work with Tables and Database Records Lesson 3. NAVIGATING AMONG RECORDS Access users who prefer using the keyboard to navigate records can press keys.
Microsoft Access Database Creation and Management.
Modify Tables and FieldsModify Tables and Fields Lesson 4 © 2014, John Wiley & Sons, Inc.Microsoft Official Academic Course, Microsoft Word Microsoft.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 5 1 Microsoft Office Access 2003 Tutorial 5 – Enhancing a Table’s Design.
Access Module Implementing a Database with Microsoft Access A Great Module on Your CD.
XP New Perspectives on Microsoft Office Access 2003 Tutorial 4 1 Microsoft Office Access 2003 Tutorial 4 – Creating Forms and Reports.
Access Lessons 1, 2 and 3 ©2009 M and K Solutions, LLC – All Rights Reserved.
Copyright © 2009 Pearson Education, Inc. Publishing as Prentice Hall. 1 Skills for Success with Microsoft ® Office 2007 PowerPoint Lecture to Accompany.
XP Chapter 1 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Level 2 Objectives: Understanding and Creating Table.
1 New Perspectives on Microsoft Access 2016 Module 4: Creating Forms and Reports.
Microsoft Office Access 2003
Access Tutorial 4 Creating Forms and Reports
Enhancing Forms with OLE Fields, Hyperlinks, and Subforms
Access Tutorial 4 Creating Forms and Reports
Access Chapter 5 Multi-Table Forms.
Tutorial 4 Creating Forms and Reports
Microsoft Office Access 2003
Access Tutorial 4 Creating Forms and Reports
Presentation transcript:

Enhancing Forms with OLE Fields, Hyperlinks, and Subforms – Project 5

2 Project 5 Overview Project 5 introduces us to additional data types. We will learn how to:  Create and work with date, memo, hyperlink, and OLE fields.  Create and use input masks.  Use the new data types in a form.  Build a form based on a one-to-many relationship in which several records from one of the tables displays on the screen at the same time.  Use date and memo fields in queries to answer questions.

3 Project 5 Perspective AJC needs to maintain additional data on trainers.  The Trainer table will change as follows:  A start date added for each trainer in the database  A memo field added for each trainer and a trainer’s picture  A trainer’s (hyperlinked) web page field added  A phone number field with an Input Mask added  A New Form created with new and old fields  Add new and old Fields to the form  Creating a Subform – Showing, and capability of scrolling through, multiple clients while viewing the related Trainer data  Capability of accessing trainer’s Web Page from form  Queries added that use Start Date and Comment fields  Note that new fields will have no effect on existing forms/reports

4 Special Fields (AC 260)  Often fields must be added to a database that require special data types  These data types are: Date, Memo, OLE, Hyperlink  They do not use field sizes  Date (D) – Field contains only valid dates. Valid dates … meaning  Month must be between 1 and 12  Day must be between 1 and 31  Cannot enter an invalid date for a particular month; for example, June 31,  Memo – the field contains text that is variable in length. Length of text stored in these fields is virtually unlimited.

5 Special Fields (AC 260)  OLE – The field contains objects created by other applications that support OLE as a server.  Object Linking and Embedding – a Microsoft feature that creates a special relationship between one application (i.e. MS Access) and the application that created the object. When you edit the object from the where it is embedded, Access returns to the application that created the object.  Hyperlink – Contains links to other Office documents or to Web pages.

6 Using the Input Mask Wizard (AC 262) Input Mask - An input mask specifies how the data is to be entered and how it will appear.  Input masks make data entry easier and control the values users can enter in a text box control.  Data could be stored with the symbols (i.e. phone number) but storing data without the symbols takes up less space.  Input Mask differs from Display Format  Display Format only displays after data has been saved  Input Mask is used for data entry  If a format also has been specified for the field, the format takes precedence over the input mask.

7 Entering Data Entering data using an input mask (AC 265)  The cursor should be positioned at the beginning of the field when entering data in a field that has an input mask.  Access will insert the appropriate special characters in the proper positions.

8 Entering Data Entering data in date fields (AC 266)  Type the date and include slashes (/)  Access 2003 automatically treats all two-digit years before 30 as 2000 through  Other dates are treated as 1930 through  For example, the date 1/2/01 will display as 1/2/2001 if the short date style is set to MM/dd/yyyy.

9 Entering Data Entering data in memo fields (AC 266)  Simply type the data in the field  Since only a small portion of the memo will appear on the screen …  Press Shift+F2 for a Zoom box that makes data entry easier.

10 Entering Data Entering data in OLE fields (AC 268)  To insert data into an OLE field …  Use Insert Object command on the OLE field’s shortcut menu.  The Insert Object command presents a list of the various types of objects that can be inserted.  Access then opens the corresponding application to create the object (if needed), or simply inserts it directly from the file.  OLE fields use a great deal of disk space. Therefore, do not save the database to floppy disk.

11 Entering Data Entering data in Hyperlink fields (AC 271)  To insert data into a Hyperlink field …  Use the Hyperlink command on the Hyperlink field’s shortcut menu.  Then edit the hyperlink - you can enter the Web page address for the appropriate Web page or specify a file that contains the document to which you want to link.  Now let’s open Access and the AJC Database to enter these fields and data

12 Advanced Form Techniques (AC 273) Referential Integrity  A validity check to avoid data inconsistency or quality problems.  A foreign key value cannot be entered in one table unless it matches a primary key in another table.  For example, with referential integrity you cannot …  Enter a Customer order in the Order table UNLESS  Customer already exists in the Customer table  Otherwise, you would end up with an orphan record

13 Advanced Form Techniques (AC 273) There are 3 types of relationships between entities:  One-to-one – Exactly one of the 2 nd entity occurs for each instance of the 1 st entity. For example, a Department Head chairs a Department.  One-to-many – One occurrence of the 1 st entity can relate to many instances of the 2 nd entity, but each instance of the 2 nd entity can associate with only one instance of the 1 st entity For example, One department employs Many employees.  Many-to-many – One instance of the 1 st entity can relate to many instances of the second entity and one instance of the 2 nd entity can relate to many instances of the 1 st entity For example, Many students enroll in Many Classes. Our focus is the One-to-many relationship between the Trainer and the Client tables  One Trainer services Many clients

14 Advanced Form Techniques (AC 273) Our goal is to show and be able to scroll through multiple clients while viewing the related Trainer data. To do this, we must use a subform within a main form. ___________________________________________  Main form – form in which the subform is contained. It contains data from the one table (Trainer)  Subform – A form that is contained within another form. It contains data from the many table (Client). ___________________________________________  In Access, Form Wizard easily creates this form.  Some DBMS packages, require a custom program to produce the same result.

15 Modifying the Subform Design (AC 278) Once the main form and subform have been created, you can modify these forms in Design view:  Open the subform in Design view  Convert to Datasheet view to resize each column

16 Changing the Picture Size Mode (AC 287) Size mode – Determines the portion of a picture that appears as well as the way it appears (Use Property Sheet to change). Possible size modes are:  Clip – Displays portion of picture that fits in space allocated to it.  Stretch – Expands/shrinks picture to fit precise space allocated. Not good for photographs – distort.  Zoom – Best for fitting picture to allocated space without changing look of picture (best for photos).  Entire picture will appear, and be proportioned correctly. Some white space may be visible above/ to right of picture.

17 Changing Tab Stops (AC 293)  Users press TAB to move through fields on a form  Access automatically determines the order in which these fields are encountered.  Tab Stop property: Determines whether tab key moves through or bypasses a control  You may want to bypass a control on the form (such as the Picture control).  Change the Tab Stop property to “No” to bypass  Tab Order command on View Menu: Allows you to change the order in which fields are encountered when tabbing through a form  You can manually change the order in which fields are encountered

18 Viewing Object Dependencies (AC 299)  In Access, you can view information on dependencies between database objects.  The ability to view Object Dependencies is a new feature in Access  The Object Dependencies command allows you to see the dependencies for any object or to see what objects depend on that object.  Viewing a list of objects that use a specific object helps in the maintenance of a database and avoids errors when changes are made to the objects involved in the dependency.

Any Questions? Enhancing Forms with OLE Fields, Hyperlinks, and Subforms – Project 5