Highlight the Active Field in Microsoft Access Forms
Question details
The user wants to make a matching or currently active field easier to identify on an Access form.

- Product
- Microsoft Access
- Device & OS
- not provided
- Scenario
- A search can find a value in any field on a form, and the user wants a visual cue for the relevant control.
- Observed behavior
- Search matches may appear in different controls, making the active field difficult to identify.
Open the database and identify the form and controls you want to highlight. You will need permission to edit the form's design.
Use Conditional Formatting to Highlight the Field With Focus
Use this approach to give the active form control a background color whenever it receives focus.
The Field Has Focus rule applies whenever a control receives focus, not only after a search. It does not highlight every matching field or record.
In the Navigation Pane, right-click the form and choose Design View or Layout View.
Click the text box or other supported control that you want to highlight.
On the Format tab, choose Conditional Formatting, then select New Rule. In some versions, use Format > Conditional Formatting.
Choose the rule for checking values in the current record, select Field Has Focus from the condition list, and choose a background color.
Click OK to apply the rule, repeat for the other controls you want to highlight, and save the form. Open it in Form View and click or tab between controls to test the color.

Work With Office Files in WPS Office
WPS Office is a free, lightweight alternative for editing documents, spreadsheets, and presentations. Its familiar interface and Microsoft Office format compatibility make it easy to move everyday files between suites. It does not replace Microsoft Access or apply formatting to Access forms.

Frequently Asked Questions
Does the highlight appear only after I search?
No. A Field Has Focus rule highlights the control whenever it receives focus, including when you click it or move to it with the Tab key.
Do I need to set the rule on every field?
Apply the rule to each control you want highlighted. Select a control in Design View or Layout View, then use Format > Conditional Formatting to add the rule.
Will this highlight all search matches at once?
No. The Field Has Focus rule highlights the active control, not every match. Highlighting multiple matching fields or records may require a custom search form and additional formatting logic.
Can WPS Office edit the conditional formatting on an Access form?
No. Use Microsoft Access to edit Access forms and their conditional formatting. WPS Office is an alternative for compatible documents, spreadsheets, and presentations, not Access databases.




