Hi -
I need to write an Expression in Visual Studio 2013 containing the Logic as written below.
IF (WFRegionalID == "USA" && WFDisplayPrintCOA == 1)
{
print ("[XX] Certificate of Analysis");
}
else
{
print ("[ ] Certificate of Analysis")
}
The problem Im facing is that I cant seem to come up with the code which compares two values like (WFRegionalID == "USA" && WFDisplayPrintCOA == 1) .
Can you please suggest me how I can write this logic in Visual Studio Expression ?
As of now I have this line of code in my expression and it works I just need to add an extra flag which checks for the value of WFRegionalID along with WFDisplayPrintCOA at the same time.
=Switch(Fields!WFdisplayPrintCOA.Value = 1 , "[XX] Certificate of Analysis", 1=1, "[ ] Certificate of Analysis")
Thanks
*This post is locked for comments
I have the same question (0)