You are unable to open Web site when you click a hyperlink on an Access form in Access 2002 (289530)



The information in this article applies to:

  • Microsoft Access 2002

This article was previously published under Q289530
Moderate: Requires basic macro, coding, and interoperability skills.

This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp).

For a Microsoft Access 2000 version of this article, see 198452.

SYMPTOMS

When you click a hyperlink, you may receive the following error message:
Unable to open <HyperlinkName>. The Internet site reports that the item you requested could not be found. (HTTP/1.0 404)
-or-

When you click a hyperlink, Microsoft Internet Explorer may start, and it displays a message similar to:
Sorry, there is no <ServerName>.com Web page matching your request.

It's possible you typed the address incorrectly, or that the page no longer exists.

CAUSE

This behavior occurs if the following two conditions are true:
  • A Uniform Resource Locator (URL) is assigned to the Hyperlink Base property in the Database Properties dialog box.

    -and-

  • An invalid value is assigned to the Hyperlink Address property of the hyperlink control.

RESOLUTION

Type a valid value in the Hyperlink Address property of the hyperlink control.

MORE INFORMATION

When you type an invalid value in the Hyperlink Address property of a hyperlink control on an Access form or report, Microsoft Access has no method by which to validate the value before using it. When you open the form or the report and you click the hyperlink, you will encounter one of the two possible results that is mentioned in the "Symptoms" section of this article.

Steps to Reproduce the Behavior

  1. Open the sample database Northwind.mdb.
  2. On the File menu, click Database Properties.
  3. In the Hyperlink base text box, type http://www.msn.com/, and then click OK.
  4. Create a new blank form.
  5. On the Insert menu, click Hyperlink.
  6. In the Insert Hyperlink dialog box, type Blank Link in the Address box, and then click OK.
  7. Open the form in Form view, and then click the Blank Link hyperlink.

    Note that you encounter one of the problems listed in the "Symptoms" section of this article.

Modification Type:MinorLast Reviewed:8/10/2004
Keywords:kbForms kberrmsg kbprb KB289530