I have a table (tblLeaveData) with the following fields
PERNR (Long)
LeaveDate (date)
SickType (text)
DrNote (YesNo)
SickType will have the following values:
"S", "SF", "SD", "SFD", "SPre", "SFPre", "FM"
I need a query that will filter out any "SPre" or "SFPre" where the corresponding DrNote is yes. All other SickType need to be included no matter what the value is of DrNote.
I am not sure why I can't figure this out, it seem fairly simple.:banghead:
PERNR (Long)
LeaveDate (date)
SickType (text)
DrNote (YesNo)
SickType will have the following values:
"S", "SF", "SD", "SFD", "SPre", "SFPre", "FM"
I need a query that will filter out any "SPre" or "SFPre" where the corresponding DrNote is yes. All other SickType need to be included no matter what the value is of DrNote.
I am not sure why I can't figure this out, it seem fairly simple.:banghead: