![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have an option group on a form with three choices "Yes/No/All" I'm using a switch function in a query to filter records on a Yes/No field. There is no problem displaying records that are either "Yes" or "No" but when I try to display "All", using (-1 Or 0) in the switch function, I only get the "Yes" records (-1). This is driving me nuts as I'm sure I had it working and don't know what I changed. The criteria in the field is as follows: Switch([Forms]![frm RepJobsDue]![JobLive]=1,-1,[Forms]![frm RepJobsDue]![JobLive]=2,0,[Forms]![frm RepJobsDue]![JobLive]=3,(-1 Or 0)) I can't see what the problem is, as having (-1 or 0) by itself in as the criteria will display all records. |
![]() |
| Thread Tools | |
| Display Modes | |
| |