I have many different samples, of five different types (Chicken, Turkey, Human, Ont. Swint, Sask. Swine). For all except Sask Swine, I want the criteria for the "Species" column to be "C. coli". If it's Sask Swine, I don't want there to be a criteria.
This is what I have:
IIf(GetCurrentSampleTypeAsString()<>"Sample_SwineSask","C. Coli","*")
I have also tried
IIf(GetCurrentSampleTypeAsString()<>"Sample_SwineSask","C. Coli")
and
IIf(GetCurrentSampleTypeAsString()<>"Sample_SwineSask","C. Coli",Null)
and
IIf(GetCurrentSampleTypeAsString()<>"Sample_SwineSask","C. Coli","")
If I remove the criteria, I get all the proper results. If I put in one of the above-mentioned IIf statements, I get no results.
Note: For Swine Sask, the Species column is always empty.
-------------------------
Just call me Captain Awesome.
This is what I have:
IIf(GetCurrentSampleTypeAsString()<>"Sample_SwineSask","C. Coli","*")
I have also tried
IIf(GetCurrentSampleTypeAsString()<>"Sample_SwineSask","C. Coli")
and
IIf(GetCurrentSampleTypeAsString()<>"Sample_SwineSask","C. Coli",Null)
and
IIf(GetCurrentSampleTypeAsString()<>"Sample_SwineSask","C. Coli","")
If I remove the criteria, I get all the proper results. If I put in one of the above-mentioned IIf statements, I get no results.
Note: For Swine Sask, the Species column is always empty.
-------------------------
Just call me Captain Awesome.