Microsoft KB Archive/206141

= ACC2000: Pages May Not Reflect Specified Hyperlink Colors =

Article ID: 206141

Article Last Modified on 7/31/2001

-

APPLIES TO


 * Microsoft Access 2000 Standard Edition

-



This article was previously published under Q206141



Novice: Requires knowledge of the user interface on single-user computers.

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



SYMPTOMS
Data access pages may not use the Hyperlink color setting and the Followed hyperlink color setting that you can set in the Web Options dialog box in Microsoft Access. Pages also do not use the Visited, Unvisited, and Hover colors that you can set in the Colors dialog box in Microsoft Internet Explorer version 5.0.



CAUSE
Pages use the color violet for Hyperlink color (Unvisited). The color used for Followed hyperlink color (Visited) is based on the setting at the time that you create the page.

NOTE: The page does not automatically update the color if you change the Followed hyperlink color.



RESOLUTION
You can use the Microsoft Script Editor, or any text editor, to change the HTML file so that the code specifies which color to use, depending on the state of a hyperlink.



MORE INFORMATION
There are two common states for hyperlinks in HTML: link (Hyperlink color) and vlink (Followed hyperlink color).

An example of the syntax to handle these states is:

 The following table contains the hexadecimal value for some common colors used in HTML files:

Pages do not automatically use Hover colors.

Steps to Reproduce Behavior

 * 1) Open the sample database Northwind.mdb.
 * 2) On the Tools menu, click Options. Click the General tab.
 * 3) Click Web Options.
 * 4) Change the Hyperlink color setting to Black. Change the Followed hyperlink color to Red, and then click OK. Click OK to close the Options dialog box.
 * 5) In the Database window, click Tables under Objects.
 * 6) Select Suppliers, and then click the Open button on the Database Window toolbar.
 * 7) Scroll to the right until you see the Home Page field. Click Mayumi's (on the World Wide Web.)
 * 8) On the browser toolbar, click the Back button. Note that Mayumi's (on the World Wide Web) is red and the other hyperlinks are black.
 * 9) On the File menu, click Close.
 * 10) In the Database window, click Pages under Objects.
 * 11) Click the New button on the Database Window toolbar.
 * 12) In the New Data Access Page dialog box, click Design View. Click OK.
 * 13) On the Insert menu, click Hyperlink.
 * 14) In the Type the file or Web page name box type http://www.microsoft.com . Click OK.
 * 15) On the View menu, click Page View. Note that the hyperlink color is violet. This hyperlink may be red if you have recently visited that page.
 * 16) Click the hyperlink, and then on the browser toolbar, click the Back button.

Note that the hyperlink color is red.

Additional query words: DAP prb URL URLs colours colour

Keywords: kbdap kbprb KB206141

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.