AdoDbGetRecordSet

<< Click to Display Table of Contents >>

Navigation:  The Vo2Ado RDD > RDD Support Library > AdoDb() functions >

AdoDbGetRecordSet

Previous pageReturn to chapter overviewNext page

FUNCTION AdoDbGetRecordSet() AS OBJECT

RETURN DBINFO(DBI_RECORDSET)

 

Returns the current RecordSet object for the workarea. This recordset may be open, but may also be closed. This depends on the current state of the workarea.

A workarea may create new recordsets when needed, for example when the workarea is involved in a transaction. So you can not rely on the fact that the recordset that is returned will stay the same throughout the lifetime of an open workarea.

Please do not close the recordset directly, but close the recordset through the AdoDbClearRecordSet function when needed.