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)
Hiding labels via Visibility
caramel
<p>Hi all,</p>
<p> </p>
<p>I need your help regarding hiding label via Visibility- Properties</p>
<p> </p>
<p>i have a Table with name "FNAME" and in PDF Report shoult i it display in this form</p>
<p> </p>
<p><strong>First Name</strong>(label without Databinding) <strong>FNAME</strong> (Label with Databinding)</p>
<p> </p>
<p>For example: <strong>First Name Max</strong></p>
<p> </p>
<p> </p>
<p>I try to write Visibility Properties in First Name Label this Expression but it doesnt work</p>
<p> </p>
<p><strong><span style="color:#7f0055;"><span style="font-family:'segoe ui', sans-serif;"><span style="font-size:10pt;">if</span></span></span></strong><span style="color:#000000;"><span style="font-family:'segoe ui', sans-serif;"><span style="font-size:10pt;"> (row[</span></span></span><span style="color:#2a00ff;"><span style="font-family:'segoe ui', sans-serif;"><span style="font-size:10pt;">"FNAME"</span></span></span><span style="color:#000000;"><span style="font-family:'segoe ui', sans-serif;"><span style="font-size:10pt;">]==</span></span></span><strong><span style="color:#7f0055;"><span style="font-family:'segoe ui', sans-serif;"><span style="font-size:10pt;">null</span></span></span></strong><span style="color:#000000;"><span style="font-family:'segoe ui', sans-serif;"><span style="font-size:10pt;">);</span></span></span></p>
<p> </p>
<p>If i have no FNAME to display should First Name label visible.</p>
<p> </p>
<p>Can anyone help me for this problem?</p>
<p> </p>
<p>Thank you for your help</p>
<p> </p>
<p>Best Regards</p>
<p> </p>
Find more posts tagged with
Comments
micajblock
<p>works for me (you do not need the if) just an expression that returns true or false. See attached. In the example I hide the state label when it is null and the whole row when addressline2 is null.</p>