<p><!--
.style1 {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
}
.style2 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; }
.style3 {font-size: 12px}
.style3 {font-family: Verdana, Arial, Helvetica, sans-serif}
-->
<script type="text/javascript"></script>
</p>
<p class="style2"><strong>F32 - Hidding field dynamically in the Form using&nbsp; sc_field_display Macro</strong><span class="style3"><strong> </strong></span></p>
<p class="style1"><strong>Application Name</strong>: form_a_fielddisplay<br /><strong>Table</strong>: products<br /><strong>Description</strong>: Hidding fields dynamically.<br /><strong>Fields that will be displayed</strong>: <br />ProductID, ProductName, SupplierID, CategoryID, QuantityPerUnit, UnitPrice, TotalValue, UnitInStock.<br /><strong>Guidance</strong>: Only Register<br /><strong>Paging</strong>: Partial<br /><strong>Table width</strong>: 40<br /><strong>Table unit width</strong>: Percent<br /><strong>Header-&gt;Form Title</strong>: Hidding fields dynamically. <br /><strong>Events:</strong></p>
<table class="style1" border="1" cellspacing="0" cellpadding="0" width="80%" bordercolor="#666666">
<tbody>
<tr>
<td align="left" valign="top"><strong>OnLoad:</strong></td>
<td>
<p>if(!sc_btn_new){</p>
<p>sc_field_display({SupplierID},@@##off@@##);<br />sc_field_display({CategoryID},@@##off@@##):</p>
<p>}else{</p>
<p>sc_field_display({SupplierID},@@##on@@##);<br />sc_field_display({CategoryID,@@##on@@##);<br />}</p>
</td>
</tr>
</tbody>
</table>
<p class="style1">&nbsp;</p>