1. I have 3 Job Titles: [PEPolice1], [PEDriver1] and [PSWSP1].
2. The 2 “Meets/Does Not Standards”: [FRMS1] and [FRDNMS1] apply only to the Police and Driver.
3. The [PSWSP1] may have only 4 of the 8 “Other Standards”: [NoEvidA1]+[NoEvidB1]+[NoPersA1]+[NoPersB1]+[NoAllegA1]+[NoAllegB1]+[AllegA1]+[AllegB1]. These 8 standards do not apply to the Police or Driver.
The outcome for either [PEPolice1] or [PEDriver1] is either [FRMS1] or [FRDNMS1]; and [PSWSP1] is 4 of the 8 Standards. A 1 in either of the fields indicates a Yes.
PDOJSActions:
IIf([PEPolice1]=1 Or [PEDriver1]=1 And [NoEvidA1]+[NoEvidB1]+[NoPersA1]+[NoPersB1]+[NoAllegA1]+[NoAllegB1]+[AllegA1]+[AllegB1]>0,"Standards Need Corrections",
IIf([PSWSP1]=1 And [FRMS1]+[FRDNMS1]>0,"Standards Need Corrections","Records OK"))
Some new staff members are making multiple entries. With the IIF statement provided I have identified those records of [PEPolice1] and [PEDriver1] who have checked either [FRMS1] or [FRDNMS1] and have also checked 1 or more of the Other 8 Standards. I also have identified those records of [PSWSP1] who have checked either [FRMS1] or [FRDNMS1].
However, the query also includes those records of [PEPolice1] and [PEDriver1] who have only checked either [FRMS1] or [FRDNMS1] and none of the 8 Standards. I want to exclude those records since those records are the appropriate outcomes. Any suggestions would be helpful. Thank you.
2. The 2 “Meets/Does Not Standards”: [FRMS1] and [FRDNMS1] apply only to the Police and Driver.
3. The [PSWSP1] may have only 4 of the 8 “Other Standards”: [NoEvidA1]+[NoEvidB1]+[NoPersA1]+[NoPersB1]+[NoAllegA1]+[NoAllegB1]+[AllegA1]+[AllegB1]. These 8 standards do not apply to the Police or Driver.
The outcome for either [PEPolice1] or [PEDriver1] is either [FRMS1] or [FRDNMS1]; and [PSWSP1] is 4 of the 8 Standards. A 1 in either of the fields indicates a Yes.
PDOJSActions:
IIf([PEPolice1]=1 Or [PEDriver1]=1 And [NoEvidA1]+[NoEvidB1]+[NoPersA1]+[NoPersB1]+[NoAllegA1]+[NoAllegB1]+[AllegA1]+[AllegB1]>0,"Standards Need Corrections",
IIf([PSWSP1]=1 And [FRMS1]+[FRDNMS1]>0,"Standards Need Corrections","Records OK"))
Some new staff members are making multiple entries. With the IIF statement provided I have identified those records of [PEPolice1] and [PEDriver1] who have checked either [FRMS1] or [FRDNMS1] and have also checked 1 or more of the Other 8 Standards. I also have identified those records of [PSWSP1] who have checked either [FRMS1] or [FRDNMS1].
However, the query also includes those records of [PEPolice1] and [PEDriver1] who have only checked either [FRMS1] or [FRDNMS1] and none of the 8 Standards. I want to exclude those records since those records are the appropriate outcomes. Any suggestions would be helpful. Thank you.