Download presentation
Presentation is loading. Please wait.
Published byRandolph Boone Modified over 9 years ago
1
Microsoft Office 2003: Advanced 1 ADVANCED MICROSOFT ACCESS Lesson 17 – Utilizing Advanced Management Tools
2
2 Objectives Use the Linked Table Manager. Replicate a database. Create Access modules using Visual Basic routines.
3
3 Terms Used in This Lesson Decision structure: In Access, a group of statements that must choose from alternate actions. Procedures: Procedures perform actions and, in Access, they are written in Visual Basic code. Replication: The process of creating a copy of a database so two or more copies can exchange updates of data or replicated objects. The exchange is called synchronization. Syntax: Refers to the structure of language or how language is put together.
4
4 Using the Linked Table Manager The Linked Table Manager links tables between database files. When a change is made to a linked table in one database, the change is also reflected in its related table in another database. Linked tables allow for changes to be made in the linked tables simultaneously.
5
5 Replicating a Database Replication is the process of creating copies of a database file. The original database and the copies may exchange updates of data or objects. Replicating a database is another method for protecting a database from unwanted changes. Changes are placed in a replicated file only when they are synchronized.
6
6 Creating Access Modules Modules (shown at right) are similar to macros in that they perform actions. This module gives a 15% discount to customers purchasing over $500 and a 5% discount on any purchase of $500 or less.
7
7 Visual Basic Most of the procedures you need to create can be done as macros. Only when there is not an action in a macro for a certain procedure will you need to use modules with Visual Basic. Testing a Visual Basic statement is very important so as to be sure the code is performing the desired actions. If there is an error in the code, an error message should appear when the code is tested. At this point, the error can be corrected by changing the code.
8
8 Distribute Access Databases as MDE files Saving a database as an MDE file prevents others from viewing or editing the Visual Basic code.
9
9 Summary Linking tables lets you make changes in one table and have the changes appear in the linked table as well. Replication creates copies of a database, and synchronization updates the replicated database copies.
10
10 Summary (cont.) Visual Basic is used to write procedures that can modify, calculate, edit, or add data and objects in a database. Visual Basic procedures can be tested in the Immediate window. Saving a file as MDE prevents others from view or editing Visual Basic code in the database.
11
11 HOMEWORK – ACCESS LESSON 17 Review Question – True/False – Fill in the Blank Project 17-1 Unit Review – Review Questions True/False Multiple Choice
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.