ACC2000: FontName Property of Navigation Control on Data Access Page Is Not Updated as Expected (207754)
The information in this article applies to:
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).
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- Open the data access page that has the navigation control in Design view.
- Click the navigation control to select it. After you have selected it, double-click the navigation control.
- Right-click the navigation control, and then click Select All.
- In the Font box on the Format toolbar, select the font that you want.
- On the View menu, click Page View. Note that the font has changed in the navigation control.
Method 2- Open the data access page that has the navigation control in Design view.
- Click the navigation control to select it.
- On the View menu, click Properties.
- Click the Other tab.
- Change the FontName property to the font that you want, and then press ENTER.
- On the View menu, click Page View. Note that the font has changed in the navigation control.
Method 3- Open the data access page that has the navigation control in Design view.
- On the Tools menu, point to Macros, and then click Microsoft Script Editor.
- Scroll down in the source code to the navigation control.
- 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.
- Locate the parameter FontName in the text, and then change it to the font that you want.
- Click View, and then click Page View. Note that the font has changed in the navigation control.
Modification Type: | Major | Last Reviewed: | 6/24/2004 |
---|
Keywords: | kbDAP kbprb KB207754 |
---|
|