J
Jean-Paul De Winter
Hi,
have following situation:
a form with 3 listboxes
one has following entries: " ";"A";"B";"C"
I have following filter when I click one of the listboxes:
Private Sub klas_Click()
Me.Sub11.Form.FilterOn = True
Me.Sub11.Form.Filter = "klas='" & Forms![Rapporten ingeven]![Klas] & "'
and jaar='" & Forms![Rapporten ingeven]![jaar] & "' and afdeling='" &
Forms![Rapporten ingeven]![Afdeling] & "'"
Me.Sub11.Form.Refresh
End Sub
When I choose "A", "B" or "C" it all works perfectly
When I choose the " ", the filter doesn't return anything
What can be wrong?
Thanks
JP
have following situation:
a form with 3 listboxes
one has following entries: " ";"A";"B";"C"
I have following filter when I click one of the listboxes:
Private Sub klas_Click()
Me.Sub11.Form.FilterOn = True
Me.Sub11.Form.Filter = "klas='" & Forms![Rapporten ingeven]![Klas] & "'
and jaar='" & Forms![Rapporten ingeven]![jaar] & "' and afdeling='" &
Forms![Rapporten ingeven]![Afdeling] & "'"
Me.Sub11.Form.Refresh
End Sub
When I choose "A", "B" or "C" it all works perfectly
When I choose the " ", the filter doesn't return anything
What can be wrong?
Thanks
JP