Download presentation
Presentation is loading. Please wait.
Published byMeghan Park Modified over 9 years ago
1
Exploring Microsoft Access Chapter 7 Building Applications: The Switchboard, Macros, and Prototyping
2
Objectives (1 of 2) Use the Switchboard Manager create/modify a switchboard Use the Link Tables command Describe how macros are used to automate applications Describe components of Macro window
3
Objectives (2 of 2) Explain how prototyping facilitates application development Use the Unmatched Query Wizard Create a macro group
4
Overview (1 of 2) Develop a database user interface (aka switchboard) that ties objects in a database together to simplify the use of the database Understand and create an application Split a database file into two files: tables and other objects
5
Overview (2 of 2) Link the two database files using the Link Tables command Macros automate common commands Prototype to demonstrate “look and feel” to potential users
6
Switchboard Manager Creates a switchboard automatically Prompts developer for information about each menu item Access creates a switchboard form that is displayed to the user Switchboard Items table stores information about each command
7
Switchboard Design View Record Source for switchboard is Switchboard Items table Switchboard can have 8 menu items
8
Main Menu Teams button opens the Teams form About Sports button displays an informational box
9
Switchboard Items SwitchboardID identifies which switchboard each item belongs to ItemNumber identifies position of item on switchboard ItemText specifies text shown on Switchboard Command determines action taken when the item is selected Argument determines object to be acted on (form to be opened)
10
Linked Tables Manager (1 of 2) Every application consists of tables and objects (forms, queries, reports) based on those tables Tables and objects can be stored in separate files Linked Table Manager associates the tables file with the objects file
11
Linked Tables Manager (2 of 2) Open database is Sports Objects Arrow indicates tables are linked
12
Introduction to Macros (1 of 2) Macros automate a command sequence Macro window is divided into two sections: actions (commands that comprise the macro) and arguments (information for those actions)
13
Introduction to Macros (2 of 2) Macros are stored as separate objects in a database Macro toolbar appears at the top of the macro window AutoExec macro is run whenever database is opened Debugging provides error messages
14
Back Up Macro MsgBox action Message box text Message box displayed by macro
15
Using Macro Groups Macros are grouped to organize the macros for the developer Individual macros within a group must be identified by name and group name (e.g. “MacroGroupName.MacroName”)
16
Prototyping Iterative process that presents the client with multiple partially completed versions of the application Helps organize and outline what should be in the database Does not contain much real information
17
Chapter 7 Summary (1 of 2) Switchboard makes a database user friendly Splitting tables from objects simplifies upgrades Macros automate a command sequence
18
Chapter 7 Summary (2 of 2) AutoExec macro executes when database opens Unmatched Query Wizard finds records in one table without matching records in another table Prototype demonstrates “look and feel” of the application before it is completed
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.