I have 5 different possibilities and I wont to change the color the header depending on what the different facility names are. I have tried multiple examples in the group header format event, but it always says it can't find the field named facility although that is what the field is called and if I type me.facility it pops up so there must be something missing. Any ideas for have 5 different conditional formats in a group header?
Select Case Me![Facility]
Case AAA
Me![Facility_Code].ForeColor = vbBlue
Case BBB
'Me![txtPostalCode].ForeColor = vbGreen
'etc for all of them
End Select
Select Case Me![Facility]
Case AAA
Me![Facility_Code].ForeColor = vbBlue
Case BBB
'Me![txtPostalCode].ForeColor = vbGreen
'etc for all of them
End Select