- Wed Apr 17, 2019 5:56 am
#824031
Hoping you can help on hiding rows if the variables do not have values. Here's the HTML code of the report:
<table border="0" cellspacing="0" style="width: 420px; height: 47px;">
<tbody><!--@>GRID_BORROWER-->
<tr>
<td style="height: 1px; font-size: 9.0pt;"><font face="arial,helvetica,sans-serif"><b>@#BORROWER_NAME</b></font></td>
</tr>
<!--@<GRID_BORROWER--></tbody>
<tbody>
<tr>
<td style="height: 1px; font-size: 9.0pt;"><font face="arial,helvetica,sans-serif"><b>TRADE NAME: @#BORROWER_TRADE</b></font></td>
</tr>
<tr>
<td colspan="12" style="height: 1px; font-size: 9.0pt;"><font face="arial,helvetica,sans-serif">@=BORROWER_ADDR</font></td>
</tr>
</tbody>
</table>
Found a way on how to hide a row but I have no idea how to put conditions to check if the variable has a value or null.
<tr style="display:none"><td>@#BORROWER_TRADE</td></tr>
<table border="0" cellspacing="0" style="width: 420px; height: 47px;">
<tbody><!--@>GRID_BORROWER-->
<tr>
<td style="height: 1px; font-size: 9.0pt;"><font face="arial,helvetica,sans-serif"><b>@#BORROWER_NAME</b></font></td>
</tr>
<!--@<GRID_BORROWER--></tbody>
<tbody>
<tr>
<td style="height: 1px; font-size: 9.0pt;"><font face="arial,helvetica,sans-serif"><b>TRADE NAME: @#BORROWER_TRADE</b></font></td>
</tr>
<tr>
<td colspan="12" style="height: 1px; font-size: 9.0pt;"><font face="arial,helvetica,sans-serif">@=BORROWER_ADDR</font></td>
</tr>
</tbody>
</table>
Found a way on how to hide a row but I have no idea how to put conditions to check if the variable has a value or null.
<tr style="display:none"><td>@#BORROWER_TRADE</td></tr>