I have this code in a value list drop down menu and it works fine on another form but I can get it to work on client form now if the record is filtered the show all records works to unfilter the records. ANY HELP!!
Private Sub myComboBox_Change()
Dim sFilter As String
Select Case myComboBox
Case "Show All Records"
sFilter = True
Case "View By Days"
sFilter = "(((Date)>Date()-Days))"
Case "View By Called"
sFilter = "Called = TRUE"
Case "Requested Call Back"
sFilter = "RequestedCallBack = TRUE"
Case "Help Needed"
sFilter = "HelpNeeded = TRUE"
End Select
Me.Filter = sFilter
Me.FilterOn = True
End Sub
Private Sub myComboBox_Change()
Dim sFilter As String
Select Case myComboBox
Case "Show All Records"
sFilter = True
Case "View By Days"
sFilter = "(((Date)>Date()-Days))"
Case "View By Called"
sFilter = "Called = TRUE"
Case "Requested Call Back"
sFilter = "RequestedCallBack = TRUE"
Case "Help Needed"
sFilter = "HelpNeeded = TRUE"
End Select
Me.Filter = sFilter
Me.FilterOn = True
End Sub