O'Reilly logo

Alison Balter's Mastering Access 2002 Enterprise Development by Alison Balter

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Deploying Data Access Pages

You must be concerned with two issues when deploying data access pages. The first issue involves how Access maintains links between the MDB or ADP file and the HTML documents. The second is how the HTML documents link to the appropriate data source. Unfortunately, Access hard-codes both the path from the MDB or ADP file to the HTML document, and the path from the HTML document to the data source. This means problems for you if someone moves the MDB, ADP, HTML documents, or data source.

The first thing that you need to be able to do is determine whether the link to the data access page is broken. The code in Listing 22.1 accomplishes this task.

Listing 22.1. Determining Whether the Link to a Data Access Page Is Broken ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required