Microsoft Access 2010 Chapter 5 Multitable Forms
Add Yes/No, Date/Time, Memo, OLE Object, and Attachment fields Use the Input Mask Wizard Update fields and enter data Change row and column size Create a form with a subform in Design view Modify a subform and form design Objectives Multitable Forms2
Enhance the form title Change tab stops and tab order Use the form to view data and attachments View object dependencies Use Date/Time, Memo, and Yes/No fields in a query Create a form with a datasheet Multitable Forms3 Objectives
Multitable Forms4 Project – Multitable Forms
When new fields are needed, determine the purpose of those fields to see if they need special data types When a form is required, determine whether the form requires data from more than one table If the form requires data from more than one table, determine the relationship between the tables If the form requires data from more than one table, determine on which of the tables the form is to be based Determine the fields from each table that need to be on the form Multitable Forms5 Plan Ahead – pg. 276
Make a Chapter 5 folder Go to Public\DB Design\Chapter 5 folder and copy Camashly design from there (we are all starting at the CORRECT place) NOTE: this copies the folder for your labs as well. So go ahead and get ALL of it! Open the Camashly Design database Multitable Forms6 Housekeeping
Do they need an input mask (Like SSN or phone #)? Can they use a Yes/No data type? Do you need a date/time field? Do you need a Memo field? Do you need an OLE (Object Linking and Embedding) object? Are there attachments? Are there hyperlinks? Multitable Forms7 Planning for new fields
Multitable Forms8 Adding Fields with New Data Types to a Table Do pages You will add the fields shown below!
You must use the Insert Object command on the OLE field’s shortcut menu. Now we will insert pictures Multitable Forms9 Entering Data in OLE Object Fields
Multitable Forms10 Entering Data in OLE Object Fields Do pages to insert pictures for everyone
Use the Manage Attachments command on the Attachment field’s shortcut menu to do this. Multitable Forms11 Entering Data in Attachment Fields
Multitable Forms12 Entering Data in Attachment Fields Do pages
Plan ahead – Which tables do you need? Which table is the MAIN table for the form? – Which fields from each table need to be on the form? Multitable Forms13 Creating a Form in Design View
Multitable Forms14 Creating a Form in Design View Do pages
Open the Navigation Pane and click the desired table Click the Object Dependencies button (Database Tools tab | Relationships group) to display the Object Dependencies pane If necessary, click the ‘Objects that depend on me’ option button to select it Close the Object Dependencies pane by clicking the Object Dependencies button (Database Tools tab | Relationships group) a second time Multitable Forms15 Viewing Object Dependencies
Multitable Forms16 Viewing Object Dependencies
Multitable Forms17 Using the Date/Time, Memo, and Yes/No Fields in a Query Do pages
Homework Do Flash Cards for Ch. 5 due next class meeting. Labs Philimar on pg. 333 Make sure to do all 3 parts. Everyone is starting with a CORRECT Philamar training db, so we are all on the same page! 18Multitable Forms