I am trying to simply clear a field given a few conditions. If the date falls in the 3 days, yesterday, today and tomorrow, AND the record has a certain LOC value and a specific OrdStatusDesc value. Below is what I have and oddly enough it runs without error but it does not remove the dates at all.
=IIF((Fields!promise_dt.Value = dateadd(dateinterval.Day,+ 1,Today())) or
(Fields!promise_dt.Value = dateadd(dateinterval.Day,- 1,Today())) or
(Fields!promise_dt.Value = dateadd(dateinterval.Day,+0,Today())) OR
(Fields!loc.Value = "MOD") OR
(Fields!OrdStatusDesc.Value = "Pick Ticket Printed")
,Fields!promise_dt.Value,"")