Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Need Query modification
chandra t
<p>Hello there,</p><p> I am trying to hide a grid with the below expression in the visibility property expression</p><p> </p><p>if (row["FAILURECODE"] == "x" && (row["PROBLEMCODE"]) in( "1","2","3","4","5"))
{false
}
else if
(row["FAILURECODE"] == "y" && (row["PROBLEMCODE"]) in ("6","7","8","9" ))
{false
}
else if
( (row["FAILURECODE"]).match (/xyz.*/))</p><p>{false
}
else
true</p><p> </p><p> </p><p>but still get an error can , Can some one re arrange it ?</p><p> </p><p>Thanks in advance</p><p> </p>
Find more posts tagged with
Comments
wwilliams
<p><span>I believe "in" as you are using it, is what you'd use in your SQL statement and you could do a decode or case statement to get the desired result..</span></p><p><span>For javascript try a switch statement.</span></p>