G
Guest
When a filter has been applied, I would like the detail background color to
change so they know they are looking at a filtered dataset. I tried the code
below, but all that changes is the filter by form screen BEFORE they apply
the filter. I need it to change color after they apply the filter. What am
I doing wrong? Thanks in advance!
Private Sub Form_ApplyFilter(Cancel As Integer, ApplyType As Integer)
Me.Detail.BackColor = -2147483633
End Sub
Private Sub Form_Filter(Cancel As Integer, FilterType As Integer)
Me.Detail.BackColor = 255
End Sub
change so they know they are looking at a filtered dataset. I tried the code
below, but all that changes is the filter by form screen BEFORE they apply
the filter. I need it to change color after they apply the filter. What am
I doing wrong? Thanks in advance!
Private Sub Form_ApplyFilter(Cancel As Integer, ApplyType As Integer)
Me.Detail.BackColor = -2147483633
End Sub
Private Sub Form_Filter(Cancel As Integer, FilterType As Integer)
Me.Detail.BackColor = 255
End Sub