Top Banner
1 All Powder Board and Ski Microsoft Access Workbook Chapter 10: Distributed Databases Jerry Post Copyright © 2003
13

1 All Powder Board and Ski Microsoft Access Workbook Chapter 10: Distributed Databases Jerry Post Copyright © 2003.

Jan 02, 2016

Download

Documents

Julius Manning
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: 1 All Powder Board and Ski Microsoft Access Workbook Chapter 10: Distributed Databases Jerry Post Copyright © 2003.

1

All Powder Board and Ski

Microsoft Access WorkbookChapter 10: Distributed DatabasesJerry PostCopyright © 2003

Page 2: 1 All Powder Board and Ski Microsoft Access Workbook Chapter 10: Distributed Databases Jerry Post Copyright © 2003.

2

All Powder LAN

Offices/Managers

Checkout

Rental Desk

Network Switch

Server

Page 3: 1 All Powder Board and Ski Microsoft Access Workbook Chapter 10: Distributed Databases Jerry Post Copyright © 2003.

3

Split Access Database

Customer

Sale

Model

Inventory

SaleItem

SaleID DateCustomer

SKU Qty Price

Forms, Queries, Reports, Modules

Tables and Relationships

Links to tables

Page 4: 1 All Powder Board and Ski Microsoft Access Workbook Chapter 10: Distributed Databases Jerry Post Copyright © 2003.

4

Split Database

Back-end database: tables and relationships

Front-end database: Links to back-end tables.Contains all forms and reports.

Page 5: 1 All Powder Board and Ski Microsoft Access Workbook Chapter 10: Distributed Databases Jerry Post Copyright © 2003.

5

Moving a Linked Database: Linked Table Manager

If you move a back-end database, you will have to re-link the tables

Right click on the linked tables, select Linked Table Manager

Select all of the tables, click the OK button and you will be promoted for the new location

Page 6: 1 All Powder Board and Ski Microsoft Access Workbook Chapter 10: Distributed Databases Jerry Post Copyright © 2003.

6

Create a Replica

Icon to indicate table is replicated

Tools/Replication/Create Replica creates two tables: Master and Replica

Page 7: 1 All Powder Board and Ski Microsoft Access Workbook Chapter 10: Distributed Databases Jerry Post Copyright © 2003.

7

Modify the Data

CustomerID LastName FirstName Phone

1 Jones2 Jack 111-222-3333

2 Sanchez Paul 111-444-9999

2003 Hunton Mark 213-724-6073

Master Customer table

CustomerID LastName FirstName Phone

1 Jones Jack 111-222-3333

2 Sanchez Paul 111-444-9999

2003 Hunton Mark 213-724-6073

1054243589 Smith Susan 222-333-4444

Replica Customer table

Change a name

Add a new customer

Page 8: 1 All Powder Board and Ski Microsoft Access Workbook Chapter 10: Distributed Databases Jerry Post Copyright © 2003.

8

Synchronized Tables

CustomerID LastName FirstName Phone

1 Jones2 Jack 111-222-3333

2 Sanchez Paul 111-444-9999

2003 Hunton Mark 213-724-6073

1054243589 Smith Susan 222-333-4444

Both databases pick up all of the changes

Page 9: 1 All Powder Board and Ski Microsoft Access Workbook Chapter 10: Distributed Databases Jerry Post Copyright © 2003.

9

Conflicts from Concurrent Changes

Choose which version to accept

Two changes made before synchronization

Page 10: 1 All Powder Board and Ski Microsoft Access Workbook Chapter 10: Distributed Databases Jerry Post Copyright © 2003.

10

Access Web Pages

Web page wizard creates forms that run similar to Windows forms, but over the Web

Page 11: 1 All Powder Board and Ski Microsoft Access Workbook Chapter 10: Distributed Databases Jerry Post Copyright © 2003.

11

XML: New Vendor Models

Internet Explorer makes it easy to see the structure and data elements in an XML file

Page 12: 1 All Powder Board and Ski Microsoft Access Workbook Chapter 10: Distributed Databases Jerry Post Copyright © 2003.

12

XML in Text Editor

<ItemModel><ModelID>BQQ-333</ModelID><ManufacturerID>23</ManufacturerID><Category>Board</Category><Color>Black</Color><Cost>137.50</Cost><ModelYear>2005</ModelYear><ItemMaterial>Composite</ItemMaterial><ListPrice>224.99</ListPrice><Style>Downhill</Style><SkillLevel>6</SkillLevel><WaistWidth>159</WaistWidth><EffectiveEdge>1021</EffectiveEdge><BindingStyle>Strap</BindingStyle><RentalRate>20</RentalRate></ItemModel>

Page 13: 1 All Powder Board and Ski Microsoft Access Workbook Chapter 10: Distributed Databases Jerry Post Copyright © 2003.

13

Import XML Options

If XML data does not match the existing table, import into a new table and use SQL to clean and transfer the desired data