I have a form where I originally was going to have a table view subform but the users requested that it be a popup window so it could show more information and could be dragged to another monitor and viewed at the same time as a data entry form. I had the two forms up and running with the orderby and filters linked but if the user clicks the 'Toggle Filter' button it gets a bit confused. I was assuming the 'Toggle Filter' button was directly tied to FilterOn = true/false property but that doesn't seem to be the case.
Just to test what was going on I did this simple code:
it gets its wires crossed somehow. Am I missing something or is this strange behavior?
Just to test what was going on I did this simple code:
Code:
Private Sub Form_ApplyFilter(Cancel As Integer, ApplyType As Integer)
If Me.FilterOn = False Then
MsgBox "filter off"
End If
If Me.FilterOn = True Then
MsgBox "filter on"
End If
End Sub