I have been searching for an hour without success for an answer to my question.
I have an iif statement as a criteria in a query. When the test is true then I want to show all records where the field is NOT equal to "none", otherwise show me everything. I'm using the following as my iif:
Code:
Like IIf([forms]![DefectNotificationReviewF]![DefectFilterOpt]=2,<>"None",[NotificationNumber])
[NotificationNumber] is the field name. When I pull out the <> it shows me all the records with NONE in the field. However, for my purpose I need to see the records without NONE. Those records contain unique number strings so I can't search for a single item. I need to ignore the NONE entries to show the set of records.
Can anyone point me in the right direction?
Thanks,
Dave D.