E
Eddie Camacho
I wanted to make specific text boxes stand out by changing the background
color based on a condition (ie. if person from one Company then yellow
otherwise Green). But have not been able to. I put this Sub in the Detail
portion...
Where Info is the Textbox and Company is the company
Const WHITE = 16777215
Const YELLOW = 65535
If (Me![Company]) = "HHSC" Then
Me![Info].BackColor = YELLOW
Else
Me![Info].BackColor = WHITE
End If
color based on a condition (ie. if person from one Company then yellow
otherwise Green). But have not been able to. I put this Sub in the Detail
portion...
Where Info is the Textbox and Company is the company
Const WHITE = 16777215
Const YELLOW = 65535
If (Me![Company]) = "HHSC" Then
Me![Info].BackColor = YELLOW
Else
Me![Info].BackColor = WHITE
End If