About setting a hyperlink base for an Access file

Microsoft Office Access 2003

Show All Show All

About setting a hyperlink base for an Access file

When you create a hyperlink in a Microsoft Access file, you can make the path to the destination of the hyperlink a fixed location (absolute link), which identifies the destination by its full address— such as C:\My Documents\Sales.doc— or you can make the path a relative link. You can easily change the path of a relative link by setting the hyperlink base for the Access file. The value of the HyperlinkBase property of an Access file can be a URL or a location on a network or your hard drive.

For example, you may want hyperlinks to Web pages on an intranet server in your Access file. If you set the value of the hyperlink base to http://servername1, you can create a hyperlink as a relative link, such as webpage.htm. Clicking this hyperlink opens the web page located at http://servername1/webpage.htm. If you then move the web pages to a different intranet server, you only need to change the value of the HyperlinkBase property to http://servername2 to adjust all of the relative links in the Access file.