Hi,<br>
<br>
I'm still at the experimental phase with DCOM. I'm looking for the most efficient way to pass recordsets between layers. For example, say I have a listview in the UI which I want to populate from my db. <br>
<br>
Do I create a recordset in the UI component and pass it in, by ref, as a paramater to the getrecs() method of data component. Or do I create a recordset object in the UI and set it equal to my datacomponent.getrecs().<br>
<br>
I heard that passing by val is very expensive on a network. Do I use disconnected recordsets and pass them about?<br>
<br>
Is the previous passage even coherent?<br>
<br>
C
<br>
I'm still at the experimental phase with DCOM. I'm looking for the most efficient way to pass recordsets between layers. For example, say I have a listview in the UI which I want to populate from my db. <br>
<br>
Do I create a recordset in the UI component and pass it in, by ref, as a paramater to the getrecs() method of data component. Or do I create a recordset object in the UI and set it equal to my datacomponent.getrecs().<br>
<br>
I heard that passing by val is very expensive on a network. Do I use disconnected recordsets and pass them about?<br>
<br>
Is the previous passage even coherent?<br>
<br>
C