<p>Untitled Document <!--
.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; }
.style5 {color: #FF0000;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}
.style7 {font-weight: bold; font-size: 12px;}
.style8 {font-size: 12px}
.style3 {font-family: Verdana, Arial, Helvetica, sans-serif}
-->
<script type="text/javascript"></script>
<strong>MCR10: Creating events in the application of Filter</strong><span class="style8"><span class="style3"><strong> </strong></span></span></p>
<p class="style1"><strong>Application Name:</strong> evt_filter.<br /><strong>Table: </strong>customers<strong>.</strong><br /><strong>Description: </strong>Application of Filter using events. <br /><strong>Orientation</strong>: Horizontal.<br /><strong>Pagination</strong>: Partial<br /><strong>Lines per page</strong>: 10<br /><strong>Table width</strong>: 600<br /><span class="style1"><span class="style2"><span class="style4"><span class="style7"><strong>Table width unit</strong></span></span></span></span>: Pixel.<br /><strong>Booting the consultation through the filter</strong>: Yes</p>
<p class="style1"><strong>Fields that will be Displayed:</strong><br />CustomerID, CompanyName, ContactName, Address.</p>
<p class="style2">* FILTER *</p>
<p class="style1"><strong>Fields that will be Displayed the Filtro:</strong> ClienteID, NomeCliente<br /><span class="style1"><span class="style2"><span class="style4"><span class="style2"><strong>Header -&gt; Application Title</strong></span></span></span></span>: Using events in the Filter.</p>
<table border="1" cellspacing="0" width="450" bordercolor="#666666">
<tbody>
<tr>
<td class="style2" width="193" height="23">*<strong>Onvalidate</strong> <strong>Event</strong>:</td>
<td class="style5 style7" width="230">
<div><strong>Code</strong></div>
</td>
</tr>
<tr>
<td class="style1" colspan="2" height="33">
<p>if(({CustomerID} == "") &amp;&amp; ({CustomerName} == ""))<br />{<br />sc_error_message("It informs at least a search criterion");<br />}</p>
</td>
</tr>
</tbody>
</table>
<p class="style1">&nbsp;</p>
<p class="style1">&nbsp;</p>