G
Guest
Some help again please. I am stuck. I have gotten some help from the
newsgroup regarding filtering records in a form based on a value in a
combobox. I have tried this and it does not seem to work. I have created an
option group and applied the code below to the after update event and also
does not work
Private Sub FilteredRecords_AfterUpdate()
If FilteredRecords = 2 Then
Me.Filter = "DueDate = " & Format(Me.FindDate, "\#mm\/dd\/yyyy\#")
Me.FilterOn = True
Else
Me.FilterOn = False
End If
End Sub
where FilteredRecords in the name of the option group and FindDate is the
combobox. I have tried an option group with a field which is not a date
field and the result is the same, that is, 1 blank record. Am I missing
something here.
newsgroup regarding filtering records in a form based on a value in a
combobox. I have tried this and it does not seem to work. I have created an
option group and applied the code below to the after update event and also
does not work
Private Sub FilteredRecords_AfterUpdate()
If FilteredRecords = 2 Then
Me.Filter = "DueDate = " & Format(Me.FindDate, "\#mm\/dd\/yyyy\#")
Me.FilterOn = True
Else
Me.FilterOn = False
End If
End Sub
where FilteredRecords in the name of the option group and FindDate is the
combobox. I have tried an option group with a field which is not a date
field and the result is the same, that is, 1 blank record. Am I missing
something here.