AdoServer:RecordSet Assign

<< Click to Display Table of Contents >>

Navigation:  Dataservers > AdoServer Class >

AdoServer:RecordSet Assign

Previous pageReturn to chapter overviewNext page


Object reference to the underlying AdoRecordSet object



ASSIGN RecordSet ( oNewRs ) CLASS AdoServer



oNewRs        New AdoRecordSet Object




OBJECT        Reference to the underlying AdoRecordSet object



This assign allows you to change the underlying recordset of the Server Object.

The Server will move to the first record in the recordset. If you want the server to stay on a certain record, you can save its bookmark and restore the bookmark later.


Note        Technically it is possible to bind the server to a recordset with a different column layout. When you are using the server in combination with DataWindows, DataBrowsers etc. this may not be such a good idea, because these objects may get confused if you change the column layout of the server !


See Also

AdoServer, AdoRecordSet, AdoServer:RecordSet, AdoServer:SetRecordSet()