A family of Microsoft relational database management systems designed for ease of use.
You don't need VBA for that - you can use conditional formatting.
Open the form in design view.
Select the text box or combo box.
Select Format | Conditional Formatting...
Select Field has Focus from the dropdown under Condition 1.
Specify the formatting that you want (blue)
Click OK twice.