Microsoft Knowledge Base Email Alertz

(207754) - When you click the navigation control on a data access page and use the Font box on the Format toolbar to change the font, the FontName property of the navigation control is not updated to reflect the font change that you made.

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 207754 - Last Review: June 24, 2004 - Revision: 2.0

ACC2000: FontName Property of Navigation Control on Data Access Page Is Not Updated as Expected

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

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

On This Page

SYMPTOMS

When you click the navigation control on a data access page and use the Font box on the Format toolbar to change the font, the FontName property of the navigation control is not updated to reflect the font change that you made.

CAUSE

The navigation control is built with the HTML Object tag inside the HTML Div tag with a series of parameters. FontName is a parameter of the Object tag and FontFamily is a style setting of the Object tag. The Format toolbar has no knowledge of the parameter values for the Object tag.

RESOLUTION

Use one of the following three methods to work around this problem.

Method 1

  1. Open the data access page that has the navigation control in Design view.
  2. Click the navigation control to select it. After you have selected it, double-click the navigation control.
  3. Right-click the navigation control, and then click Select All.
  4. In the Font box on the Format toolbar, select the font that you want.
  5. On the View menu, click Page View. Note that the font has changed in the navigation control.

Method 2

  1. Open the data access page that has the navigation control in Design view.
  2. Click the navigation control to select it.
  3. On the View menu, click Properties.
  4. Click the Other tab.
  5. Change the FontName property to the font that you want, and then press ENTER.
  6. On the View menu, click Page View. Note that the font has changed in the navigation control.

Method 3

  1. Open the data access page that has the navigation control in Design view.
  2. On the Tools menu, point to Macros, and then click Microsoft Script Editor.
  3. Scroll down in the source code to the navigation control.
  4. Click the navigation control to select it. Right-click the navigation control, and then click Always view as text. Note that the navigation control now appears as text.
  5. Locate the parameter FontName in the text, and then change it to the font that you want.
  6. Click View, and then click Page View. Note that the font has changed in the navigation control.

MORE INFORMATION

Steps to Reproduce the Behavior

  1. Open the sample database, Northwind.mdb.
  2. Click Tables under Objects, and then click the Categories table.
  3. On the Insert menu, click Page, click Design View, and then click OK.
  4. Double-click CategoryID in the field list to add the field to the page.
  5. Click the navigation control at the bottom of the page to select it.
  6. On the Format toolbar, select Wingdings in the Font box.
  7. On the View menu, click Page View. Note that the font on the navigation bar has not changed.
The FontName property of the navigation control is not changed when you select a font from the Font box on the Format toolbar; therefore, the font is not changed on the control. However, the FontFamily property of the navigation control does change to the font that you selected.

APPLIES TO
  • Microsoft Access 2000 Standard Edition
Keywords: 
kbdap kbprb KB207754
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate