This was a Crytal suppression formula that we are trying to use in SQL but it is not working. We need to display the text "See MAR for complete order detail" when the following conditions are not met. Can you help us with this please?
=IIF (IsNothing(Fields!PATIENT_ID.Value) OR IsNothing(Fields!DOSESTRENGTH.Value)
OR Fields!DOSESTRENGTH.Value = " " OR TRIM(Fields!DOSESTRENGTH.Value) = ""
OR (NOT(Fields!DOSESTRENGTH.Value LIKE "%PER%ORDER%")
AND NOT(Fields!DOSESTRENGTH.Value LIKE "%SLIDING%SCAL%")
AND NOT(Fields!DOSESTRENGTH.Value LIKE "%1%PER PROTOCOL%")
AND NOT(Fields!DOSESTRENGTH.Value LIKE "%1%EA%")
AND NOT(Fields!DOSESTRENGTH.Value LIKE "%1%UNIT/0.01%ML%-%%")
AND NOT(Fields!DOSESTRENGTH.Value LIKE "%TO BE GIVEN BY%")),
"",
"See MAR for complete Order Detail on (" & Fields!DESCRIPTION.Value & ") listed above.")
=IIF (IsNothing(Fields!PATIENT_ID.Value) OR IsNothing(Fields!DOSESTRENGTH.Value)
OR Fields!DOSESTRENGTH.Value = " " OR TRIM(Fields!DOSESTRENGTH.Value) = ""
OR (NOT(Fields!DOSESTRENGTH.Value LIKE "%PER%ORDER%")
AND NOT(Fields!DOSESTRENGTH.Value LIKE "%SLIDING%SCAL%")
AND NOT(Fields!DOSESTRENGTH.Value LIKE "%1%PER PROTOCOL%")
AND NOT(Fields!DOSESTRENGTH.Value LIKE "%1%EA%")
AND NOT(Fields!DOSESTRENGTH.Value LIKE "%1%UNIT/0.01%ML%-%%")
AND NOT(Fields!DOSESTRENGTH.Value LIKE "%TO BE GIVEN BY%")),
"",
"See MAR for complete Order Detail on (" & Fields!DESCRIPTION.Value & ") listed above.")