ACC2000: Formatted Colors Do Not Appear in Text (209222)
The information in this article applies to:
This article was previously published under Q209222 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
A text box control does not display text in the color that you specified.
Instead, the text is displayed as if you had not specified any color.
CAUSE
If you specify a color without a format in the Format property for a text box, no color will be displayed.
RESOLUTION
Use conditional formatting to change the colors of text in a text box control. To do so, follow these steps:
- Open the form in Design view.
- Select the control that you want to change.
- On the Format menu, click Conditional Formatting.
- Set the conditions that you want.
For example, set Condition 1 as Field Value is greater than 0 and set Font/Fore Color to Red. Click Add, and then set Condition 2 as Field Value less than or equal to 0 and set Font/Fore Color to Yellow. Click OK. - Save and close the form.
- Open the form in Form view. Note that the values are formatted based on the conditions set in step 4.
REFERENCESFor more information about conditional formatting, click Microsoft Access Help on the
Help menu, type conditional formatting in a text box or other control on a form or report in the Office Assistant or
the Answer Wizard, and then click Search to view the topics
returned.
Modification Type: | Major | Last Reviewed: | 6/24/2004 |
---|
Keywords: | kbprb KB209222 |
---|
|