Componentes.Terceros.RemObj.../internal/6.0.43.801/1/RemObjects Samples/Data Abstract for Delphi/Dynamic Select/DynamicSelect.Sample.html
2010-01-29 16:17:43 +00:00

36 lines
1.4 KiB
HTML

<html>
<head>
<link rel="stylesheet" type="text/css" href="..\styles.css">
</head>
<body>
<img src="..\..\da.png" alt="" align="right">
<!-------------------------------------------------------------------------->
<p class="h1">Dynamic Select Sample</p>
<p>
The sample shows how to use the <b>Dynamic Select</b> feature to decrease network traffic and server load, retrieving only needed columns.
</p>
<p class="h2">Examine the code</p>
<ul>
<li>Take a look at the <b>TClientForm.btLoadClick</b> event handler to see how you can fill DataSet using the <b>Dynamic Select</b> feature.</li>
<li>
Look at the <b>TClientForm.btUpdateClick</b> event handler to see how updates of the local DataSet can be
applied to the back-end server database.<br/>
Note that Update operation always uses the DynamicSelect mode of the previous Fill operation.
</li>
</ul>
<p class="h2">Getting started</p>
<ul>
<li>Run the Sample Server.</li>
<li>Run the Dynamic Select Sample.</li>
<li>Try to fill and update DataSet using the <b>Dynamic Select</b> feature.</li>
<li>Look at the server log, to see the SQL command used on the server and estimate the amount of data sent to the client application.</li>
<li>Try to fill and update DataSet not using the <b>Dynamic Select</b> feature.</li>
<li>Look at the server log again to see the amount of data sent to the client application by the server.</li>
</ul>
</body>
</html>