The purpose of this code is to change the background color of the ContactTitle field to white whenever the user selects a record to view. Next, we want to enter the following code: ContactTitle.BackColor = vbWhite When the Choose Builder window appears, highlight "Code Builder" and click on the OK button. A button with three dots should appear to the right. We want to change the background color of the ContactTitle text box when the user changes the value in this text box.įirst, you want to view the properties for the Form. In this example, we have a form called frmSuppliers. Question: In Microsoft Access 2007, how can I change the background color of text box when the text box value changes?Īnswer: You need to create code that is triggered when the value of the text box changes and then change the background color accordingly. See solution in other versions of Access:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |