chrisjames25
Registered User.
- Local time
- Today, 20:03
- Joined
- Dec 1, 2014
- Messages
- 404
Hi i have the following code and it it brings up a filter menu much like in a datasheet filter option.
Works fine. But as i choose the filters to apply after the event i have no clue how to check whether a filter has actaully be applied and if one has bring up a pic suggesting filter applied. For example i could double click on the label and decide not to filter any data or i could choose just one item form the list. I have no clue how to test if a filter has been applied or not.
Any ideas hugely appreciated .
Code:
Dim Items As Integer
Items = Me.RecordsetClone.RecordCount
If Items = 0 Then
Me.FilterOn = False
Else
DoCmd.GoToControl "Txt_Column1"
DoCmd.GoToRecord , "", acFirst
DoCmd.RunCommand acCmdFilterMenu
End If
Works fine. But as i choose the filters to apply after the event i have no clue how to check whether a filter has actaully be applied and if one has bring up a pic suggesting filter applied. For example i could double click on the label and decide not to filter any data or i could choose just one item form the list. I have no clue how to test if a filter has been applied or not.
Any ideas hugely appreciated .