Click here to Skip to main content
15,887,746 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
I have an expression like below
C#
=IIf((Previous(Fields!Shot_type.Value) = Fields!Shot_type.Value & Previous(Fields!JobShot.Value) = Fields!JobShot.Value), Nothing, Fields!Shot_type.Value)


I need to check the repetition of value with respect to Jobshot and shot_type if both value will match previous value then it will return nothing otherwise Shot_type.Value.

What I have tried:

C#
=IIf((Previous(Fields!Shot_type.Value) = Fields!Shot_type.Value & Previous(Fields!JobShot.Value) = Fields!JobShot.Value), Nothing, Fields!Shot_type.Value)
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900