handlebarry
Technical User
I'm looking for a way to cheer up a toggle button (ok bad pun)
Anyway, I have a group of toggle buttons that apply filters to a form. However if the filter query produces no results (e.g the dec 2005 filter) then the toggle gets stuck in the down position.
(Also I'm not sure if my method is correct/best solution). Any advise appreciated
Private Sub ToggleJan_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
DoCmd.ApplyFilter "Query Contracts Jan"
Me.grpMonth = 1
End Sub
Anyway, I have a group of toggle buttons that apply filters to a form. However if the filter query produces no results (e.g the dec 2005 filter) then the toggle gets stuck in the down position.
(Also I'm not sure if my method is correct/best solution). Any advise appreciated
Private Sub ToggleJan_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
DoCmd.ApplyFilter "Query Contracts Jan"
Me.grpMonth = 1
End Sub